![]() |
Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <txorphanage.h>
Public Attributes | |
std::set< Wtxid > | m_work_set |
List of transactions that should be reconsidered: added to in AddChildrenToWorkSet, removed from one-by-one with each call to GetTxToReconsider. More... | |
unsigned int | m_total_usage {0} |
Total weight of orphans for which this peer is an announcer. More... | |
Definition at line 128 of file txorphanage.h.
unsigned int TxOrphanage::PeerOrphanInfo::m_total_usage {0} |
Total weight of orphans for which this peer is an announcer.
If orphans are provided by different peers, its weight will be accounted for in each PeerOrphanInfo, so the total of all peers' m_total_usage may be larger than m_total_orphan_size. If a peer is removed as an announcer, even if the orphan still remains in the orphanage, this number will be decremented.
Definition at line 140 of file txorphanage.h.
std::set<Wtxid> TxOrphanage::PeerOrphanInfo::m_work_set |
List of transactions that should be reconsidered: added to in AddChildrenToWorkSet, removed from one-by-one with each call to GetTxToReconsider.
The wtxids may refer to transactions that are no longer present in orphanage; these are lazily removed in GetTxToReconsider.
Definition at line 133 of file txorphanage.h.