CalculateDescendants overloads
Synopses
Declared in <txmempool.h>
Populate setDescendants with all in‐mempool descendants of given transaction. Assumes that setDescendants includes all in‐mempool descendants of anything already in it.
[[requires_capability(0x7fb95f556a08), requires_capability(0x7fb968bc8118), requires_capability(0x7fb95fdd1f58), requires_capability(0x7fb978b77318), requires_capability(0x7fb96b8fc878), requires_capability(0x7fb96e5c3348), requires_capability(0x7fb97a07d378), requires_capability(0x7fb96be450c8)]]
void
CalculateDescendants(
txiter it,
setEntries& setDescendants) const;
Populate setDescendants with all in‐mempool descendants of the given entry.
[[requires_capability(0x7fb95f556ac8), requires_capability(0x7fb968bc81d8), requires_capability(0x7fb95fdd2018), requires_capability(0x7fb978b773d8), requires_capability(0x7fb96b8fc938), requires_capability(0x7fb96e5c3408), requires_capability(0x7fb97a07d438), requires_capability(0x7fb96be45188)]]
CTxMemPool::txiter
CalculateDescendants(
CTxMemPoolEntry const& entry,
setEntries& setDescendants) const;
Return Value
An iterator to the entry in the mempool.
Parameters
Name |
Description |
it |
Iterator to the transaction whose descendants are collected. |
setDescendants |
The set that is populated with the descendants. |
entry |
The transaction entry whose descendants are collected. |
Created with MrDocs