MCPcopy Create free account
hub / github.com/ElementsProject/elements / get

Method get

src/txmempool.cpp:1004–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002}
1003
1004CTransactionRef CTxMemPool::get(const uint256& hash) const
1005{
1006 LOCK(cs);
1007 indexed_transaction_set::const_iterator i = mapTx.find(hash);
1008 if (i == mapTx.end())
1009 return nullptr;
1010 return i->GetSharedTx();
1011}
1012
1013TxMempoolInfo CTxMemPool::info(const GenTxid& gtxid) const
1014{

Callers 15

mainFunction · 0.45
assets_tutorial.pyFile · 0.45
check_ELF_RELROFunction · 0.45
call_symbol_checkFunction · 0.45
call_security_checkFunction · 0.45
getcoins.pyFile · 0.45
build_releaseFunction · 0.45
check_hostFunction · 0.45
mainFunction · 0.45
_test_getnettotalsMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45

Calls 3

findMethod · 0.80
GetSharedTxMethod · 0.80
endMethod · 0.45

Tested by 8

call_symbol_checkFunction · 0.36
call_security_checkFunction · 0.36
test_addressMethod · 0.36
test_functionMethod · 0.36
test_getnettotalsMethod · 0.36
test_addressMethod · 0.36
test_functionMethod · 0.36