Bitcoin ABC  0.23.1
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
DummyConfig Class Reference

#include <config.h>

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

Public Member Functions

 DummyConfig ()
 
 DummyConfig (std::string net)
 
 DummyConfig (std::unique_ptr< CChainParams > chainParamsIn)
 
bool SetMaxBlockSize (uint64_t maxBlockSize) override
 
uint64_t GetMaxBlockSize () const override
 
void SetChainParams (std::string net)
 
const CChainParamsGetChainParams () const override
 
void SetCashAddrEncoding (bool) override
 
bool UseCashAddrEncoding () const override
 
void SetExcessUTXOCharge (Amount amt) override
 
Amount GetExcessUTXOCharge () const override
 

Private Attributes

std::unique_ptr< CChainParamschainParams
 

Detailed Description

Definition at line 52 of file config.h.

Constructor & Destructor Documentation

◆ DummyConfig() [1/3]

DummyConfig::DummyConfig ( )

Definition at line 45 of file config.cpp.

◆ DummyConfig() [2/3]

DummyConfig::DummyConfig ( std::string  net)
explicit

Definition at line 48 of file config.cpp.

◆ DummyConfig() [3/3]

DummyConfig::DummyConfig ( std::unique_ptr< CChainParams chainParamsIn)
explicit

Definition at line 51 of file config.cpp.

Member Function Documentation

◆ GetChainParams()

const CChainParams& DummyConfig::GetChainParams ( ) const
inlineoverridevirtual

Implements Config.

Definition at line 61 of file config.h.

Here is the caller graph for this function:

◆ GetExcessUTXOCharge()

Amount DummyConfig::GetExcessUTXOCharge ( ) const
inlineoverridevirtual

Implements Config.

Definition at line 67 of file config.h.

Here is the call graph for this function:

◆ GetMaxBlockSize()

uint64_t DummyConfig::GetMaxBlockSize ( ) const
inlineoverridevirtual

Implements Config.

Definition at line 58 of file config.h.

◆ SetCashAddrEncoding()

void DummyConfig::SetCashAddrEncoding ( bool  )
inlineoverridevirtual

Implements Config.

Definition at line 63 of file config.h.

◆ SetChainParams()

void DummyConfig::SetChainParams ( std::string  net)

Definition at line 54 of file config.cpp.

Here is the call graph for this function:

◆ SetExcessUTXOCharge()

void DummyConfig::SetExcessUTXOCharge ( Amount  amt)
inlineoverridevirtual

Implements Config.

Definition at line 66 of file config.h.

◆ SetMaxBlockSize()

bool DummyConfig::SetMaxBlockSize ( uint64_t  maxBlockSize)
inlineoverridevirtual

Implements Config.

Definition at line 57 of file config.h.

◆ UseCashAddrEncoding()

bool DummyConfig::UseCashAddrEncoding ( ) const
inlineoverridevirtual

Implements Config.

Definition at line 64 of file config.h.

Member Data Documentation

◆ chainParams

std::unique_ptr<CChainParams> DummyConfig::chainParams
private

Definition at line 70 of file config.h.


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