[#ChainstateManager-ActiveChain]
= xref:ChainstateManager.adoc[ChainstateManager]::ActiveChain
:relfileprefix: ../
:mrdocs:

Return the active chain of block headers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1bc17308), requires&lowbar;capability(0x7f2e146b5658), requires&lowbar;capability(0x7f2e298faa28), requires&lowbar;capability(0x7f2e360b8188)&rsqb;&rsqb;
xref:CChain.adoc[CChain]&
ActiveChain() const;
----

== Return Value

A reference to the active chain&period;


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