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

Function GetInfo

src/txmempool.cpp:986–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986static TxMempoolInfo GetInfo(CTxMemPool::indexed_transaction_set::const_iterator it) {
987 return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee(), it->GetDiscountTxSize()};
988}
989
990std::vector<TxMempoolInfo> CTxMemPool::infoAll() const
991{

Callers 2

infoAllMethod · 0.85
infoMethod · 0.85

Calls 6

GetSharedTxMethod · 0.80
GetTimeMethod · 0.80
GetFeeMethod · 0.80
GetTxSizeMethod · 0.45
GetModifiedFeeMethod · 0.45
GetDiscountTxSizeMethod · 0.45

Tested by

no test coverage detected