![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <key.h>#include <common/system.h>#include <key_io.h>#include <span.h>#include <streams.h>#include <secp256k1_extrakeys.h>#include <test/util/common.h>#include <test/util/random.h>#include <test/util/setup_common.h>#include <uint256.h>#include <util/strencodings.h>#include <util/string.h>#include <string>#include <vector>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (key_test1) | |
| BOOST_AUTO_TEST_CASE (key_signature_tests) | |
| static CPubKey | UnserializePubkey (const std::vector< uint8_t > &data) |
| static unsigned int | GetLen (unsigned char chHeader) |
| static void | CmpSerializationPubkey (const CPubKey &pubkey) |
| BOOST_AUTO_TEST_CASE (pubkey_unserialize) | |
| BOOST_AUTO_TEST_CASE (bip340_test_vectors) | |
| BOOST_AUTO_TEST_CASE (key_ellswift) | |
| BOOST_AUTO_TEST_CASE (bip341_test_h) | |
| BOOST_AUTO_TEST_CASE (key_schnorr_tweak_smoke_test) | |
| template<typename T> | |
| std::string | ToString (const T &t) |
| Locale-independent version of std::to_string. | |
Variables | |
| static const std::string | strSecret1 = "5HxWvvfubhXpYYpS3tJkw6fq9jE9j18THftkZjHHfmFiWtmAbrj" |
| static const std::string | strSecret2 = "5KC4ejrDjv152FGwP386VD1i2NYc5KkfSMyv1nGy1VGDxGHqVY3" |
| static const std::string | strSecret1C = "Kwr371tjA9u2rFSMZjTNun2PXXP3WPZu2afRHTcta6KxEUdm1vEw" |
| static const std::string | strSecret2C = "L3Hq7a8FEQwJkW1M2GNKDW28546Vp5miewcCzSqUD9kCAXrJdS3g" |
| static const std::string | addr1 = "1QFqqMUD55ZV3PJEJZtaKCsQmjLT6JkjvJ" |
| static const std::string | addr2 = "1F5y5E5FMc5YzdJtB9hLaUe43GDxEKXENJ" |
| static const std::string | addr1C = "1NoJrossxPBKfCHuJXT4HadJrXRE9Fxiqs" |
| static const std::string | addr2C = "1CRj2HyM1CXWzHAXLQtiGLyggNT9WQqsDs" |
| static const std::string | strAddressBad = "1HV9Lc3sNHZxwj4Zk6fB38tEmBryq2cBiF" |
| BOOST_AUTO_TEST_CASE | ( | bip340_test_vectors | ) |
| BOOST_AUTO_TEST_CASE | ( | bip341_test_h | ) |
| BOOST_AUTO_TEST_CASE | ( | key_ellswift | ) |
| BOOST_AUTO_TEST_CASE | ( | key_schnorr_tweak_smoke_test | ) |
| BOOST_AUTO_TEST_CASE | ( | key_signature_tests | ) |
| BOOST_AUTO_TEST_CASE | ( | key_test1 | ) |
| BOOST_AUTO_TEST_CASE | ( | pubkey_unserialize | ) |
|
static |
|
static |
| std::string util::ToString | ( | const T & | t | ) |
|
static |
|
static |
Definition at line 31 of file key_tests.cpp.
|
static |
Definition at line 33 of file key_tests.cpp.
|
static |
Definition at line 32 of file key_tests.cpp.
|
static |
Definition at line 34 of file key_tests.cpp.
|
static |
Definition at line 36 of file key_tests.cpp.
|
static |
Definition at line 27 of file key_tests.cpp.
|
static |
Definition at line 29 of file key_tests.cpp.
|
static |
Definition at line 28 of file key_tests.cpp.
|
static |
Definition at line 30 of file key_tests.cpp.