Apply the effects of a block disconnection on the UTXO set and update the mempool.
Declared in <validation.h>
[[requires_capability(0x7fbc8fb661f8, 0x7fbc8fb66270), requires_capability(0x7fbc96bfe868, 0x7fbc96bfe8e0), requires_capability(0x7fbcaf5d5c78, 0x7fbcaf5d5cf0), requires_capability(0x7fbc9e0dc448, 0x7fbc9e0dc4c0)]]
bool
DisconnectTip(
BlockValidationState& state,
DisconnectedBlockTransactions* disconnectpool);
true if the tip was disconnected successfully.
| Name | Description |
|---|---|
| state | Validation state updated with the reason for any failure. |
| disconnectpool | Collects the transactions from the disconnected block for later reprocessing. |