[#wallet-CWallet-blockConnected-093] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::blockConnected :relfileprefix: ../../ :mrdocs: Handle a block being connected to the chain tip. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void blockConnected( xref:kernel/ChainstateRole.adoc[kernel::ChainstateRole] const& role, xref:interfaces/BlockInfo.adoc[interfaces::BlockInfo] const& block) override; ---- == Parameters [cols="1,4"] |=== | Name| Description | *role* | The role of the chainstate reporting the block. | *block* | Information about the connected block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#