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

Method info

src/txmempool.cpp:1013–1020  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1011}
1012
1013TxMempoolInfo CTxMemPool::info(const GenTxid& gtxid) const
1014{
1015 LOCK(cs);
1016 indexed_transaction_set::const_iterator i = (gtxid.IsWtxid() ? get_iter_from_wtxid(gtxid.GetHash()) : mapTx.find(gtxid.GetHash()));
1017 if (i == mapTx.end())
1018 return TxMempoolInfo();
1019 return GetInfo(i);
1020}
1021
1022void CTxMemPool::PrioritiseTransaction(const uint256& hash, const CAmount& nFeeDelta)
1023{

Callers 15

test_null_locatorsMethod · 0.80
test_nonnull_locatorsMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
test_reorgMethod · 0.80
reindexMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80
run_testMethod · 0.80

Calls 6

TxMempoolInfoClass · 0.85
GetInfoFunction · 0.85
IsWtxidMethod · 0.80
findMethod · 0.80
GetHashMethod · 0.45
endMethod · 0.45

Tested by 15

test_null_locatorsMethod · 0.64
test_nonnull_locatorsMethod · 0.64
test_reorgMethod · 0.64
test_getrpcinfoMethod · 0.64
test_batch_requestMethod · 0.64
test_height_minMethod · 0.64
custom_methodMethod · 0.64
run_testMethod · 0.64
mainMethod · 0.64
setup_chainMethod · 0.64
_stop_perfMethod · 0.64