[#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(0x7ff37b4208a8), requires_capability(0x7ff376fd8258), requires_capability(0x7ff38def7478), requires_capability(0x7ff3640f8488), requires_capability(0x7ff3920f8778), requires_capability(0x7ff37f5ca898), requires_capability(0x7ff37d011b18), requires_capability(0x7ff374c15328)]] 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]#