[#CZMQNotificationInterface-BlockDisconnected-05] = xref:CZMQNotificationInterface.adoc[CZMQNotificationInterface]::BlockDisconnected :relfileprefix: ../ :mrdocs: `BlockDisconnected` overloads == Synopses Declared in `<zmq/zmqnotificationinterface.h>` Notifies listeners of a block being disconnected Provides the block that was disconnected. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:CValidationInterface/BlockDisconnected.adoc[BlockDisconnected]( std::shared_ptr<CBlock const> const& block, xref:CBlockIndex.adoc[CBlockIndex] const* pindex); ---- [.small]#xref:CValidationInterface/BlockDisconnected.adoc[_» more..._]# Handle a block being disconnected from the active chain. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void xref:CZMQNotificationInterface/BlockDisconnected-02.adoc[BlockDisconnected]( std::shared_ptr<CBlock const> const& pblock, xref:CBlockIndex.adoc[CBlockIndex] const* pindexDisconnected) override; ---- [.small]#xref:CZMQNotificationInterface/BlockDisconnected-02.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *block* | The block that was disconnected. | *pindex* | Block index entry for the disconnected block. | *pblock* | The disconnected block. | *pindexDisconnected* | The block index of the disconnected block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#