[#CChainParams-GetConsensus] = xref:CChainParams.adoc[CChainParams]::GetConsensus :relfileprefix: ../ :mrdocs: Returns the consensus parameters for this chain. == Synopsis Declared in `<kernel/chainparams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:Consensus/Params.adoc[Consensus::Params] const& GetConsensus() const; ---- == Return Value The consensus rule parameters. [.small]#Created with https://www.mrdocs.com[MrDocs]#