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

Function AcceptToMemoryPool

src/validation.cpp:1023–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1021}
1022
1023bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransactionRef &tx,
1024 bool* pfMissingInputs, std::list<CTransactionRef>* plTxnReplaced,
1025 bool bypass_limits, const CAmount nAbsurdFee, bool test_accept)
1026{
1027 const CChainParams& chainparams = Params();
1028 return AcceptToMemoryPoolWithTime(chainparams, pool, state, tx, pfMissingInputs, GetTime(), plTxnReplaced, bypass_limits, nAbsurdFee, test_accept);
1029}
1030
1031/**
1032 * Return transaction in txOut, and if it was found inside a block, its hash is placed in hashBlock.

Callers 9

ProcessMessageFunction · 0.85
UpdateMempoolForReorgFunction · 0.85
AcceptToMemoryPoolMethod · 0.85
ToMemPoolFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
sendrawtransactionFunction · 0.85
testmempoolacceptFunction · 0.85
AssembleBlockFunction · 0.85

Calls 3

GetTimeFunction · 0.85
ParamsClass · 0.70

Tested by 2

ToMemPoolFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68