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(0x7f2e1b5a2ed8), requires_capability(0x7f2e2721bee8), requires_capability(0x7f2e421cd5f8), requires_capability(0x7f2e2880c5b8), requires_capability(0x7f2e3212f948), requires_capability(0x7f2e347f7fd8), requires_capability(0x7f2e2b05c448), requires_capability(0x7f2e2bee3ae8)]]
void
CalculateDescendants(
    txiter it,
    setEntries& setDescendants) const;

Populate setDescendants with all in‐mempool descendants of the given entry.

[[requires_capability(0x7f2e1b5a2f98), requires_capability(0x7f2e2721bfa8), requires_capability(0x7f2e421cd6b8), requires_capability(0x7f2e2880c678), requires_capability(0x7f2e3212fa08), requires_capability(0x7f2e347f8098), requires_capability(0x7f2e2b05c508), requires_capability(0x7f2e2bee3ba8)]]
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