[#Chainstate-m_chainstate_mutex]
= xref:Chainstate.adoc[Chainstate]::m&lowbar;chainstate&lowbar;mutex
:relfileprefix: ../
:mrdocs:

The ChainState Mutex A lock that must be held when modifying this ChainState &hyphen; held in ActivateBestChain() and InvalidateBlock()

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:Mutex.adoc[Mutex] m&lowbar;chainstate&lowbar;mutex;
----


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