[#Chainstate-DisconnectTip] = xref:Chainstate.adoc[Chainstate]::DisconnectTip :relfileprefix: ../ :mrdocs: Apply the effects of a block disconnection on the UTXO set and update the mempool. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f9513ab4918, 0x7f9513ab4990), requires_capability(0x7f9502c97988, 0x7f9502c97a00), requires_capability(0x7f95254496b8, 0x7f9525449730), requires_capability(0x7f95173ff998, 0x7f95173ffa10)]] bool DisconnectTip( xref:BlockValidationState.adoc[BlockValidationState]& state, xref:DisconnectedBlockTransactions.adoc[DisconnectedBlockTransactions]* disconnectpool); ---- == Return Value true if the tip was disconnected successfully. == Parameters [cols="1,4"] |=== | Name| Description | *state* | Validation state updated with the reason for any failure. | *disconnectpool* | Collects the transactions from the disconnected block for later reprocessing. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#