MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / ToMemPool

Function ToMemPool

src/test/txvalidationcache_tests.cpp:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24BOOST_AUTO_TEST_SUITE(tx_validationcache_tests)
25
26static bool
27ToMemPool(const CMutableTransaction& tx)
28{
29 LOCK(cs_main);
30
31 CValidationState state;
32 return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), nullptr /* pfMissingInputs */,
33 nullptr /* plTxnReplaced */, true /* bypass_limits */, 0 /* nAbsurdFee */);
34}
35
36BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
37{

Callers 1

BOOST_FIXTURE_TEST_CASEFunction · 0.85

Calls 2

AcceptToMemoryPoolFunction · 0.85
MakeTransactionRefFunction · 0.85

Tested by

no test coverage detected