[#CBaseChainParams-2constructor-0f]
= xref:CBaseChainParams.adoc[CBaseChainParams]::CBaseChainParams
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Deleted default constructor&semi; base parameters must specify a data dir and port&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CBaseChainParams/2constructor-00.adoc[CBaseChainParams]() = delete;
----

[.small]#xref:CBaseChainParams/2constructor-00.adoc[_» more&period;&period;&period;_]#

Constructs base parameters from a data directory and RPC port&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CBaseChainParams/2constructor-0e.adoc[CBaseChainParams](
    std::string const& data&lowbar;dir,
    uint16&lowbar;t rpc&lowbar;port);
----

[.small]#xref:CBaseChainParams/2constructor-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data&lowbar;dir*
| The default data directory name&period;
| *rpc&lowbar;port*
| The default RPC port number&period;
|===


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