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

Method GetInfo

src/txmempool.h:286–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 std::set<Txid> m_unbroadcast_txids GUARDED_BY(cs);
285
286 static TxMempoolInfo GetInfo(CTxMemPool::indexed_transaction_set::const_iterator it)
287 {
288 return TxMempoolInfo{it->GetSharedTx(), it->GetTime(), it->GetFee(), it->GetTxSize(), it->GetModifiedFee() - it->GetFee()};
289 }
290
291 // Helper to remove all transactions that conflict with a given
292 // transaction (used for transactions appearing in a block).

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected