7 #include <test/util/setup_common.h> 11 #include <boost/test/unit_test.hpp> 24 std::vector<CKey> keys(2);
25 std::vector<CPubKey> pubkeys;
26 for (
CKey& key : keys) {
28 pubkeys.emplace_back(key.GetPubKey());
37 keyman.AddCScript(multisig_script);
std::unique_ptr< interfaces::Chain > chain
BOOST_AUTO_TEST_CASE(CanProvide)
std::unique_ptr< WalletDatabase > CreateDummyWalletDatabase()
Return object for accessing dummy database with no read/write capabilities.
CScript GetScriptForDestination(const CTxDestination &dest)
Generate a Bitcoin scriptPubKey for the given CTxDestination.
#define BOOST_FIXTURE_TEST_SUITE(a, b)
Serialized script, used inside transaction inputs and outputs.
#define BOOST_AUTO_TEST_SUITE_END()
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.
An encapsulated private key.
#define BOOST_CHECK(expr)