[#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(0x7fb95fa38278, 0x7fb95fa382f0), requires_capability(0x7fb96ac5f1d8, 0x7fb96ac5f250), requires_capability(0x7fb96e9d59f8, 0x7fb96e9d5a70), requires_capability(0x7fb98748b068, 0x7fb98748b0e0)]] 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]#