Bitcoin ABC  0.24.7
P2P Digital Currency
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
 
const CChainParamsGetChainParams () const override
 
void SetCashAddrEncoding (bool) override
 
bool UseCashAddrEncoding () const override
 
void SetExcessUTXOCharge (Amount) override
 
Amount GetExcessUTXOCharge () const override
 
- Public Member Functions inherited from Config
 Config ()=default
 
 Config (const Config &)=delete
 
Configoperator= (const Config &)=delete
 

Private Attributes

bool useCashAddr
 
Amount excessUTXOCharge
 
uint64_t nMaxBlockSize
 The largest block size this node will accept. More...
 

Detailed Description

Definition at line 33 of file config.h.

Constructor & Destructor Documentation

◆ GlobalConfig()

GlobalConfig::GlobalConfig ( )

Definition at line 10 of file config.cpp.

Member Function Documentation

◆ GetChainParams()

const CChainParams & GlobalConfig::GetChainParams ( ) const
overridevirtual

Implements Config.

Definition at line 28 of file config.cpp.

Here is the call graph for this function:

◆ GetExcessUTXOCharge()

Amount GlobalConfig::GetExcessUTXOCharge ( ) const
overridevirtual

Implements Config.

Definition at line 62 of file config.cpp.

◆ GetMaxBlockSize()

uint64_t GlobalConfig::GetMaxBlockSize ( ) const
overridevirtual

Implements Config.

Definition at line 24 of file config.cpp.

◆ SetCashAddrEncoding()

void GlobalConfig::SetCashAddrEncoding ( bool  c)
overridevirtual

Implements Config.

Definition at line 38 of file config.cpp.

◆ SetExcessUTXOCharge()

void GlobalConfig::SetExcessUTXOCharge ( Amount  fee)
overridevirtual

Implements Config.

Definition at line 58 of file config.cpp.

◆ SetMaxBlockSize()

bool GlobalConfig::SetMaxBlockSize ( uint64_t  maxBlockSize)
overridevirtual

Implements Config.

Definition at line 13 of file config.cpp.

◆ UseCashAddrEncoding()

bool GlobalConfig::UseCashAddrEncoding ( ) const
overridevirtual

Implements Config.

Definition at line 41 of file config.cpp.

Member Data Documentation

◆ excessUTXOCharge

Amount GlobalConfig::excessUTXOCharge
private

Definition at line 47 of file config.h.

◆ nMaxBlockSize

uint64_t GlobalConfig::nMaxBlockSize
private

The largest block size this node will accept.

Definition at line 50 of file config.h.

◆ useCashAddr

bool GlobalConfig::useCashAddr
private

Definition at line 46 of file config.h.


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