CBaseChainParams defines the base parameters (shared between bitcoin‐cli and bitcoind) of a given instance of the Bitcoin system.

Synopsis

Declared in <chainparamsbase.h>

class CBaseChainParams;

Member Functions

Name

Description

CBaseChainParams [constructor]

Constructors

DataDir

Returns the default data directory name for this chain.

RPCPort

Returns the default RPC port for this chain.

Non-Member Functions

Name

Description

BaseParams

Return the currently selected parameters. This won't change after app startup, except for unit tests.

CreateBaseChainParams

Creates and returns a std::unique_ptr<CBaseChainParams> of the chosen chain.

Created with MrDocs