[#ValidationSignals-BlockConnected] = xref:ValidationSignals.adoc[ValidationSignals]::BlockConnected :relfileprefix: ../ :mrdocs: Fire the BlockConnected event to all subscribers. == Synopsis Declared in `<validationinterface.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void BlockConnected( xref:kernel/ChainstateRole.adoc[kernel::ChainstateRole] const& role, std::shared_ptr<CBlock const> block, xref:CBlockIndex.adoc[CBlockIndex] const* pindex); ---- == Parameters [cols="1,4"] |=== | Name| Description | *role* | Which chainstate (active or background) connected the block. | *block* | The block that was connected. | *pindex* | Block index entry for the connected block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#