const CChainParams & Params()
Return the currently selected parameters.
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
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()
static GlobalConfig gConfig
static const uint64_t LEGACY_MAX_BLOCK_SIZE
The maximum allowed size for a block, before the UAHF.
static const uint64_t DEFAULT_MAX_BLOCK_SIZE
Default setting for maximum allowed size for a block, in bytes.