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

Method GetIter

src/txmempool.cpp:1074–1079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072}
1073
1074std::optional<CTxMemPool::txiter> CTxMemPool::GetIter(const uint256& txid) const
1075{
1076 auto it = mapTx.find(txid);
1077 if (it != mapTx.end()) return it;
1078 return std::nullopt;
1079}
1080
1081CTxMemPool::setEntries CTxMemPool::GetIterSet(const std::set<uint256>& hashes) const
1082{

Callers 3

ProcessGetDataMethod · 0.80
AcceptPackageMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected