[#btck-ChainParams]
= xref:btck.adoc[btck]::ChainParams
:relfileprefix: ../
:mrdocs:

Owning wrapper over `btck&lowbar;ChainParameters`, the consensus parameters for a network&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class ChainParams
    : public xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;ChainParameters, btck&lowbar;chain&lowbar;parameters&lowbar;copy, btck&lowbar;chain&lowbar;parameters&lowbar;destroy&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:btck/Handle-046.adoc[Handle&lt;btck&lowbar;ChainParameters, btck&lowbar;chain&lowbar;parameters&lowbar;copy, btck&lowbar;chain&lowbar;parameters&lowbar;destroy&gt;]`
| Owning RAII handle for a copyable C object of type `CType&period;`
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:btck/ChainParams/2constructor-09.adoc[`ChainParams`]         [.small]#[constructor]#
| Constructors
| xref:btck/ChainParams/operator_assign-00.adoc[`operator&equals;`] 
| Assignment operators
| xref:btck/ChainParams/GetConsensusParams.adoc[`GetConsensusParams`] 
| Returns the consensus parameters derived from these chain parameters&period;
| xref:btck/ChainParams/get-08.adoc[`get`] 
| Returns the owned C handle&period;
|===


== Protected Data Members

[cols="1,4"]
|===
| Name| Description
| xref:btck/ChainParams/m_ptr.adoc[`m&lowbar;ptr`] 
| The owned C handle&period;
|===



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