59 excessUTXOCharge = fee;
63 return excessUTXOCharge;
const CChainParams & GetChainParams() const override
std::unique_ptr< CChainParams > chainParams
bool SetMaxBlockSize(uint64_t maxBlockSize) override
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system...
void SetCashAddrEncoding(bool) override
std::unique_ptr< CChainParams > CreateChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
const Config & GetConfig()
uint64_t nMaxBlockSize
The largest block size this node will accept.
void SetExcessUTXOCharge(Amount) override
static const uint64_t LEGACY_MAX_BLOCK_SIZE
The maximum allowed size for a block, before the UAHF.
CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) of a given ins...
void SetChainParams(std::string net)
const CChainParams & Params()
Return the currently selected parameters.
Amount GetExcessUTXOCharge() const override
static const uint64_t DEFAULT_MAX_BLOCK_SIZE
Default setting for maximum allowed size for a block, in bytes.
static GlobalConfig gConfig
uint64_t GetMaxBlockSize() const override
bool UseCashAddrEncoding() const override