![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <blockencodings.h>#include <chainparams.h>#include <consensus/merkle.h>#include <pow.h>#include <streams.h>#include <test/util/random.h>#include <test/util/txmempool.h>#include <test/util/common.h>#include <test/util/setup_common.h>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| class | TestHeaderAndShortIDs |
Functions | |
| static CMutableTransaction | BuildTransactionTestCase () |
| static CBlock | BuildBlockTestCase (FastRandomContext &ctx) |
| BOOST_AUTO_TEST_CASE (SimpleRoundTripTest) | |
| BOOST_AUTO_TEST_CASE (NonCoinbasePreforwardRTTest) | |
| BOOST_AUTO_TEST_CASE (SufficientPreforwardRTTest) | |
| BOOST_AUTO_TEST_CASE (EmptyBlockRoundTripTest) | |
| BOOST_AUTO_TEST_CASE (ReceiveWithExtraTransactions) | |
| BOOST_AUTO_TEST_CASE (TransactionsRequestSerializationTest) | |
| BOOST_AUTO_TEST_CASE (TransactionsRequestDeserializationMaxTest) | |
| BOOST_AUTO_TEST_CASE (TransactionsRequestDeserializationOverflowTest) | |
Variables | |
| const std::vector< std::pair< Wtxid, CTransactionRef > > | empty_extra_txn |
| constexpr long | SHARED_TX_OFFSET {3} |
| BOOST_AUTO_TEST_CASE | ( | EmptyBlockRoundTripTest | ) |
| BOOST_AUTO_TEST_CASE | ( | NonCoinbasePreforwardRTTest | ) |
| BOOST_AUTO_TEST_CASE | ( | ReceiveWithExtraTransactions | ) |
| BOOST_AUTO_TEST_CASE | ( | SimpleRoundTripTest | ) |
| BOOST_AUTO_TEST_CASE | ( | SufficientPreforwardRTTest | ) |
| BOOST_AUTO_TEST_CASE | ( | TransactionsRequestDeserializationMaxTest | ) |
Definition at line 381 of file blockencodings_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | TransactionsRequestDeserializationOverflowTest | ) |
| BOOST_AUTO_TEST_CASE | ( | TransactionsRequestSerializationTest | ) |
|
static |
Definition at line 31 of file blockencodings_tests.cpp.
|
static |
Definition at line 22 of file blockencodings_tests.cpp.
| const std::vector<std::pair<Wtxid, CTransactionRef> > empty_extra_txn |
Definition at line 18 of file blockencodings_tests.cpp.
|
constexpr |
Definition at line 61 of file blockencodings_tests.cpp.