If sanity-checking is turned on, check makes sure the pool is consistent (does not contain two transactions that spend the same inputs, all inputs are in the mapNextTx array). If sanity-checking is turned off, check does nothing.
Declared in <txmempool.h>
[[requires_capability(0x7fb95f555728), requires_capability(0x7fb968bc6e38), requires_capability(0x7fb95fdd0c78), requires_capability(0x7fb978b76038), requires_capability(0x7fb96b8fb598), requires_capability(0x7fb96e5c2068), requires_capability(0x7fb97a07c098), requires_capability(0x7fb96be43de8)]]
void
check(
CCoinsViewCache const& active_coins_tip,
int64_t spendheight) const;
| Name | Description |
|---|---|
| active_coins_tip | The coins view of the current chain tip. |
| spendheight | The height at which mempool transactions would be spent. |