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

Access the consensus parameters in use&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:Consensus/Params.adoc[Consensus::Params] const&
GetConsensus() const;
----

== Return Value

The consensus parameters for the configured network&period;


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