~TxOrphanage [destructor] [virtual] | Destroy the orphanage and release all stored orphans. |
AddAnnouncer [virtual] | Add an additional announcer to an orphan if it exists. Otherwise, do nothing. |
AddChildrenToWorkSet [virtual] | Add any orphans that list a particular tx as a parent into the from peer's work set |
AddTx [virtual] | Add a new orphan transaction |
AnnouncementsFromPeer [virtual] | Number of orphans stored from this peer. |
CountAnnouncements [virtual] | Number of announcements, i.e. total size of m_orphans. Ones for the same wtxid are not de-duplicated. Not the same as TotalLatencyScore(). |
CountUniqueOrphans [virtual] | Number of unique orphans (by wtxid). |
EraseForBlock [virtual] | Erase all orphans included in or invalidated by a new block |
EraseForPeer [virtual] | Maybe erase all orphans announced by a peer (eg, after that peer disconnects). If an orphan has been announced by another peer, don't erase, just remove this peer from the list of announcers. |
EraseTx [virtual] | Erase an orphan by wtxid, including all announcements if there are multiple. Returns true if an orphan was erased, false if no tx with this wtxid exists. |
GetChildrenFromSamePeer [virtual] | Get all children that spend from this tx and were received from nodeid. Sorted reconsiderable before non-reconsiderable, then from most recent to least recent. |
GetOrphanTransactions [virtual] | Get all orphan transactions |
GetTx [virtual] | Get a transaction by its witness txid |
GetTxToReconsider [virtual] | Extract a transaction from a peer's work set, and flip it back to non-reconsiderable. Returns nullptr if there are no transactions to work on. Otherwise returns the transaction reference, and removes it from the work set. |
HaveTx [virtual] | Check if we already have an orphan transaction (by wtxid only) |
HaveTxFromPeer [virtual] | Check if a {tx, peer} exists in the orphanage. |
HaveTxToReconsider [virtual] | Does this peer have any work to do? |
LatencyScoreFromPeer [virtual] | Latency score of transactions announced by this peer. |
MaxGlobalLatencyScore [virtual] | Get the maximum global latency score allowed |
MaxGlobalUsage [virtual] | Get the maximum global usage allowed |
MaxPeerLatencyScore [virtual] | Get the maximum latency score allowed per peer |
ReservedPeerUsage [virtual] | Get the reserved usage per peer |
SanityCheck [virtual] | Check consistency between PeerOrphanInfo and m_orphans. Recalculate counters and ensure they match what is cached. |
TotalLatencyScore [virtual] | Get the total latency score of all orphans |
TotalOrphanUsage [virtual] | Get the total usage (weight) of all orphans. If an orphan has multiple announcers, its usage is only counted once within this total. |
UsageByPeer [virtual] | Total usage (weight) of orphans for which this peer is an announcer. If an orphan has multiple announcers, its weight will be accounted for in each PeerOrphanInfo, so the total of all peers' UsageByPeer() may be larger than TotalOrphanUsage(). Similarly, UsageByPeer() may be far higher than ReservedPeerUsage(), particularly if many peers have provided the same orphans. |