Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
GlobalConfig Class Referencefinal

#include <config.h>

Inheritance diagram for GlobalConfig:
[legend]
Collaboration diagram for GlobalConfig:
[legend]

Public Member Functions

 GlobalConfig ()
 
bool SetMaxBlockSize (uint64_t maxBlockSize) override
 
uint64_t GetMaxBlockSize () const override
 
void SetChainParams (const CChainParams chainParamsIn) override
 
const CChainParamsGetChainParams () const override
 
void SetCashAddrEncoding (bool) override
 
bool UseCashAddrEncoding () const override
 
- Public Member Functions inherited from Config
 Config ()=default
 
 Config (const Config &)=delete
 
Configoperator= (const Config &)=delete
 

Private Attributes

bool useCashAddr
 
uint64_t nMaxBlockSize
 The largest block size this node will accept.
 
std::optional< const CChainParamschainParams
 

Detailed Description

Definition at line 33 of file config.h.

Constructor & Destructor Documentation

◆ GlobalConfig()

GlobalConfig::GlobalConfig ( )

Definition at line 9 of file config.cpp.

Member Function Documentation

◆ GetChainParams()

const CChainParams & GlobalConfig::GetChainParams ( ) const
overridevirtual

Implements Config.

Definition at line 31 of file config.cpp.

Here is the call graph for this function:

◆ GetMaxBlockSize()

uint64_t GlobalConfig::GetMaxBlockSize ( ) const
overridevirtual

Implements Config.

Definition at line 23 of file config.cpp.

◆ SetCashAddrEncoding()

void GlobalConfig::SetCashAddrEncoding ( bool  c)
overridevirtual

Implements Config.

Definition at line 44 of file config.cpp.

Here is the call graph for this function:

◆ SetChainParams()

void GlobalConfig::SetChainParams ( const CChainParams  chainParamsIn)
overridevirtual

Implements Config.

Definition at line 27 of file config.cpp.

Here is the call graph for this function:

◆ SetMaxBlockSize()

bool GlobalConfig::SetMaxBlockSize ( uint64_t  maxBlockSize)
overridevirtual

Implements Config.

Definition at line 12 of file config.cpp.

Here is the call graph for this function:

◆ UseCashAddrEncoding()

bool GlobalConfig::UseCashAddrEncoding ( ) const
overridevirtual

Implements Config.

Definition at line 47 of file config.cpp.

Member Data Documentation

◆ chainParams

std::optional<const CChainParams> GlobalConfig::chainParams
private

Definition at line 49 of file config.h.

◆ nMaxBlockSize

uint64_t GlobalConfig::nMaxBlockSize
private

The largest block size this node will accept.

Definition at line 47 of file config.h.

◆ useCashAddr

bool GlobalConfig::useCashAddr
private

Definition at line 44 of file config.h.


The documentation for this class was generated from the following files: