10#include <boost/test/unit_test.hpp>
28 constexpr Txid txhash1{
"74d681e0e03bafa802c8aa084379aa98d9fcd632ddc2ed9782b586ec87451f20"};
31 constexpr Txid txhash2{
"f9fc751cb7dc372406a9f8d738d5e6f8f63bab71986a39cf36ee70ee17036d07"};
44 std::vector<unsigned int>
vIndex;
67 txids2.insert(
Txid{
"c0ffee00003bafa802c8aa084379aa98d9fcd632ddc2ed9782b586ec87451f20"});
74 std::vector<unsigned int>
vIndex;
Used to relay blocks as header + vector<merkle branch> to filtered nodes.
std::string GetHex() const
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(merkleblock_construct_from_txids_found)
Create a CMerkleBlock using a list of txids which will be found in the given block.
#define BOOST_CHECK_EQUAL(v1, v2)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.