MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / get

Method get

src/txmempool.cpp:621–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621CTransactionRef CTxMemPool::get(const Txid& hash) const
622{
623 LOCK(cs);
624 indexed_transaction_set::const_iterator i = mapTx.find(hash);
625 if (i == mapTx.end())
626 return nullptr;
627 return i->GetSharedTx();
628}
629
630void CTxMemPool::PrioritiseTransaction(const Txid& hash, const CAmount& nFeeDelta)
631{

Callers 15

check_ELF_RELROFunction · 0.45
check_RUNPATHFunction · 0.45
check_ELF_ABIFunction · 0.45
recurseMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
appFunction · 0.45
appFunction · 0.45
getcoins.pyFile · 0.45
GetMemPoolFunction · 0.45
GetChainmanFunction · 0.45

Calls 3

findMethod · 0.80
GetSharedTxMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected