Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <consensus/validation.h>
#include <key_io.h>
#include <policy/packages.h>
#include <policy/policy.h>
#include <policy/ephemeral_policy.h>
#include <policy/truc_policy.h>
#include <primitives/transaction.h>
#include <random.h>
#include <script/script.h>
#include <test/util/setup_common.h>
#include <test/util/txmempool.h>
#include <validation.h>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
BOOST_FIXTURE_TEST_CASE (tx_mempool_reject_coinbase, TestChain100Setup) | |
Ensure that the mempool won't accept coinbase transactions. More... | |
static std::vector< COutPoint > | random_outpoints (size_t num_outpoints) |
static std::vector< CPubKey > | random_keys (size_t num_keys) |
static CTransactionRef | make_tx (const std::vector< COutPoint > &inputs, int32_t version) |
static CTransactionRef | make_ephemeral_tx (const std::vector< COutPoint > &inputs, int32_t version) |
BOOST_FIXTURE_TEST_CASE (ephemeral_tests, RegTestingSetup) | |
BOOST_FIXTURE_TEST_CASE (version3_tests, RegTestingSetup) | |
Variables | |
static constexpr auto | NUM_EPHEMERAL_TX_OUTPUTS = 3 |
static constexpr auto | EPHEMERAL_DUST_INDEX = NUM_EPHEMERAL_TX_OUTPUTS - 1 |
BOOST_FIXTURE_TEST_CASE | ( | ephemeral_tests | , |
RegTestingSetup | |||
) |
BOOST_FIXTURE_TEST_CASE | ( | tx_mempool_reject_coinbase | , |
TestChain100Setup | |||
) |
Ensure that the mempool won't accept coinbase transactions.
Definition at line 26 of file txvalidation_tests.cpp.
BOOST_FIXTURE_TEST_CASE | ( | version3_tests | , |
RegTestingSetup | |||
) |
|
inlinestatic |
Definition at line 97 of file txvalidation_tests.cpp.
|
inlinestatic |
Definition at line 77 of file txvalidation_tests.cpp.
|
inlinestatic |
Definition at line 65 of file txvalidation_tests.cpp.
|
inlinestatic |
Definition at line 57 of file txvalidation_tests.cpp.
|
staticconstexpr |
Definition at line 94 of file txvalidation_tests.cpp.
|
staticconstexpr |
Definition at line 93 of file txvalidation_tests.cpp.