 |
Bitcoin Core
22.99.0
P2P Digital Currency
|
Go to the documentation of this file.
13 #include <boost/test/unit_test.hpp>
23 for (
int i = 0; i < 2; i++) {
31 std::unique_ptr<interfaces::Chain>& chain =
m_node.
chain;
370 scriptPubKey.
clear();
384 scriptPubKey.
clear();
398 scriptPubKey.
clear();
412 scriptPubKey.
clear();
std::vector< unsigned char > ParseHex(const char *psz)
isminetype
IsMine() return codes, which depend on ScriptPubKeyMan implementation.
void MakeNewKey(bool fCompressed)
Generate a new private key using a cryptographic PRNG.
CScript GetScriptForDestination(const CTxDestination &dest)
Generate a Bitcoin scriptPubKey for the given CTxDestination.
#define BOOST_FIXTURE_TEST_SUITE(a, b)
BOOST_AUTO_TEST_SUITE_END()
virtual bool AddKey(const CKey &key)
std::unique_ptr< WalletDatabase > CreateDummyWalletDatabase()
Return object for accessing dummy database with no read/write capabilities.
bool AddCScript(const CScript &redeemScript) override
std::vector< unsigned char > ToByteVector(const T &in)
CScript GetScriptForRawPubKey(const CPubKey &pubKey)
Generate a P2PK script for the given pubkey.
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
CScript GetScriptForMultisig(int nRequired, const std::vector< CPubKey > &keys)
Generate a multisig script.
CPubKey GetPubKey() const
Compute the public key from a private key.
Serialized script, used inside transaction inputs and outputs.
BOOST_AUTO_TEST_CASE(bnb_search_test)
An encapsulated public key.
An encapsulated private key.
LegacyScriptPubKeyMan * GetLegacyScriptPubKeyMan() const
Get the LegacyScriptPubKeyMan which is used for all types, internal, and external.
void SetupLegacyScriptPubKeyMan()
Make a LegacyScriptPubKeyMan and set it for all types, internal, and external.
RecursiveMutex cs_KeyStore
isminetype IsMine(const CScript &script) const override
#define BOOST_CHECK(expr)
#define BOOST_CHECK_EQUAL(v1, v2)
std::unique_ptr< interfaces::Chain > chain