MCPcopy Create free account
hub / github.com/LUX-Core/lux / infoAll

Method infoAll

src/txmempool.cpp:836–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836std::vector<TxMempoolInfo> CTxMemPool::infoAll() const
837{
838 LOCK(cs);
839 auto iters = GetSortedDepthAndScore();
840
841 std::vector<TxMempoolInfo> ret;
842 ret.reserve(mapTx.size());
843 for (auto it : iters) {
844 ret.push_back(GetInfo(it));
845 }
846
847 return ret;
848}
849
850CTransactionRef CTxMemPool::get(const uint256& hash) const
851{

Callers

nothing calls this directly

Calls 4

GetInfoFunction · 0.85
reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected