[#ValidationSignals-ChainStateFlushed]
= xref:ValidationSignals.adoc[ValidationSignals]::ChainStateFlushed
:relfileprefix: ../
:mrdocs:

Fire the ChainStateFlushed event to all subscribers&period;

== Synopsis

Declared in `&lt;validationinterface&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ChainStateFlushed(
    xref:kernel/ChainstateRole.adoc[kernel::ChainstateRole] const& role,
    xref:CBlockLocator.adoc[CBlockLocator] const& locator);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *role*
| Which chainstate (active or background) was flushed&period;
| *locator*
| Locator describing the best chain at flush time&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
