[#BaseIndex-ChainStateFlushed] = xref:BaseIndex.adoc[BaseIndex]::ChainStateFlushed :relfileprefix: ../ :mrdocs: Handle a chainstate flush by committing the index up to the flushed point. == Synopsis Declared in `<index/base.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void ChainStateFlushed( xref:kernel/ChainstateRole.adoc[kernel::ChainstateRole] const& role, xref:CBlockLocator.adoc[CBlockLocator] const& locator) override; ---- == Parameters [cols="1,4"] |=== | Name| Description | *role* | Role of the chainstate that was flushed. | *locator* | Block locator marking how far the chainstate has flushed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#