14#include <boost/test/unit_test.hpp>
21 std::unique_ptr<interfaces::Chain>& chain =
m_node.
chain;
50 std::runtime_error,
HasReason(
"Could not top up scriptPubKeys"));
BOOST_CHECK_EXCEPTION predicates to check the specific validation error.
static const XOnlyPubKey NUMS_H
Nothing Up My Sleeve point H Used as an internal key for provably disabling the key path spend see BI...
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
BOOST_FIXTURE_TEST_SUITE(cuckoocache_tests, BasicTestingSetup)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END()
std::string HexStr(const std::span< const uint8_t > s)
Convert a span of bytes to a lower-case hexadecimal string.
BOOST_CHECK_EXCEPTION(HTTPHeaders{}.Read(reader), std::runtime_error, HasReason{"Empty HTTP header name"})
CKey GenerateRandomKey(bool compressed) noexcept
std::string EncodeSecret(const CKey &key)
std::string EncodeExtPubKey(const CExtPubKey &key)
wallet::DescriptorScriptPubKeyMan * CreateDescriptor(CWallet &keystore, const std::string &desc_str, const bool success)
std::unique_ptr< WalletDatabase > CreateMockableWalletDatabase()
BOOST_AUTO_TEST_CASE(bnb_test)
#define BOOST_CHECK(expr)
void SetSeed(std::span< const std::byte > seed)
std::unique_ptr< interfaces::Chain > chain
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.