[#CTxMemPool-CalculateDescendants-06] = xref:CTxMemPool.adoc[CTxMemPool]::CalculateDescendants :relfileprefix: ../ :mrdocs: Populate setDescendants with all in‐mempool descendants of given transaction. Assumes that setDescendants includes all in‐mempool descendants of anything already in it. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1b5a2ed8), requires_capability(0x7f2e2721bee8), requires_capability(0x7f2e421cd5f8), requires_capability(0x7f2e2880c5b8), requires_capability(0x7f2e3212f948), requires_capability(0x7f2e347f7fd8), requires_capability(0x7f2e2b05c448), requires_capability(0x7f2e2bee3ae8)]] void CalculateDescendants( xref:CTxMemPool/txiter.adoc[txiter] it, xref:CTxMemPool/setEntries.adoc[setEntries]& setDescendants) const; ---- == Parameters [cols="1,4"] |=== | Name| Description | *it* | Iterator to the transaction whose descendants are collected. | *setDescendants* | The set that is populated with the descendants. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#