mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-31 00:05:13 +02:00
Use mempool/txgraph to determine if a tx has descendants
Remove a reference to GetCountWithDescendants() in preparation for removing this function and the associated cached state from the mempool.
This commit is contained in:
@@ -467,6 +467,8 @@ public:
|
||||
const Limits& limits,
|
||||
bool fSearchForParents = true) const EXCLUSIVE_LOCKS_REQUIRED(cs);
|
||||
|
||||
bool HasDescendants(const Txid& txid) const;
|
||||
|
||||
/** Collect the entire cluster of connected transactions for each transaction in txids.
|
||||
* All txids must correspond to transaction entries in the mempool, otherwise this returns an
|
||||
* empty vector. This call will also exit early and return an empty vector if it collects 500 or
|
||||
|
||||
Reference in New Issue
Block a user