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

Returns the consensus parameters for this chain&period;

== Synopsis

Declared in `&lt;kernel&sol;chainparams&period;h&gt;`

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

== Return Value

The consensus rule parameters&period;


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