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

Method infoAll

src/txmempool.cpp:600–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600std::vector<TxMempoolInfo> CTxMemPool::infoAll() const
601{
602 LOCK(cs);
603 auto iters = GetSortedScoreWithTopology();
604
605 std::vector<TxMempoolInfo> ret;
606 ret.reserve(mapTx.size());
607 for (auto it : iters) {
608 ret.push_back(GetInfo(it));
609 }
610
611 return ret;
612}
613
614const CTxMemPoolEntry* CTxMemPool::GetEntry(const Txid& txid) const
615{

Callers 6

SendMessagesMethod · 0.80
GetChildEvictingPrevoutFunction · 0.80
FinishFunction · 0.80
DumpMempoolFunction · 0.80

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by 4

GetChildEvictingPrevoutFunction · 0.64
FinishFunction · 0.64