5#ifndef BITCOIN_CONFIG_H
6#define BITCOIN_CONFIG_H
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
virtual bool UseCashAddrEncoding() const =0
virtual uint64_t GetMaxBlockSize() const =0
virtual const CChainParams & GetChainParams() const =0
Config(const Config &)=delete
Config & operator=(const Config &)=delete
virtual void SetChainParams(const CChainParams chainParamsIn)=0
virtual bool SetMaxBlockSize(uint64_t maxBlockSize)=0
virtual void SetCashAddrEncoding(bool)=0
bool UseCashAddrEncoding() const override
bool SetMaxBlockSize(uint64_t maxBlockSize) override
void SetChainParams(const CChainParams chainParamsIn) override
uint64_t nMaxBlockSize
The largest block size this node will accept.
std::optional< const CChainParams > chainParams
const CChainParams & GetChainParams() const override
void SetCashAddrEncoding(bool) override
uint64_t GetMaxBlockSize() const override
const Config & GetConfig()