MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetInfo

Function GetInfo

src/txmempool.cpp:793–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791}
792
793static TxMempoolInfo GetInfo(CTxMemPool::indexed_transaction_set::const_iterator it) {
794 return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), CFeeRate(it->GetFee(), it->GetTxSize()), it->GetModifiedFee() - it->GetFee()};
795}
796
797std::vector<TxMempoolInfo> CTxMemPool::infoAll() const
798{

Callers 2

infoAllMethod · 0.85
infoMethod · 0.85

Calls 6

GetSharedTxMethod · 0.80
GetTimeMethod · 0.80
GetFeeMethod · 0.80
CFeeRateClass · 0.50
GetTxSizeMethod · 0.45
GetModifiedFeeMethod · 0.45

Tested by

no test coverage detected