[cleanup] replace TxOrphanage::Size() with CountUniqueOrphans

This commit is contained in:
glozow
2025-06-05 14:13:28 -04:00
parent ed24e01696
commit cc50f2f0df
4 changed files with 15 additions and 19 deletions

View File

@@ -229,7 +229,6 @@ public:
std::vector<std::pair<Wtxid, NodeId>> AddChildrenToWorkSet(const CTransaction& tx, FastRandomContext& rng) override;
bool HaveTxToReconsider(NodeId peer) override;
std::vector<CTransactionRef> GetChildrenFromSamePeer(const CTransactionRef& parent, NodeId nodeid) const override;
size_t Size() const override { return m_unique_orphans; }
std::vector<OrphanTxBase> GetOrphanTransactions() const override;
TxOrphanage::Usage TotalOrphanUsage() const override;
void SanityCheck() const override;