Apply the effects of a block disconnection on the UTXO set and update the mempool.
Declared in <validation.h>
[[requires_capability(0x7f9513ab4918, 0x7f9513ab4990), requires_capability(0x7f9502c97988, 0x7f9502c97a00), requires_capability(0x7f95254496b8, 0x7f9525449730), requires_capability(0x7f95173ff998, 0x7f95173ffa10)]]
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. |