diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-12-12 10:32:50 -1000 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-02-25 09:33:46 +0800 |
commit | 8222e057fe60934a57b1d8226b0e1bd071f8dac2 (patch) | |
tree | 8439061439ed2cb0ee480b8246243ee91f4f70e9 /src/chainparams.h | |
parent | 67447ba06057b8e83f962c82491d2fe6c5211f50 (diff) |
Disable wallet fallbackfee by default on mainnet
Diffstat (limited to 'src/chainparams.h')
-rw-r--r-- | src/chainparams.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chainparams.h b/src/chainparams.h index d478da9891..6b1f813afb 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -65,6 +65,8 @@ public: bool MineBlocksOnDemand() const { return fMineBlocksOnDemand; } /** Return the BIP70 network string (main, test or regtest) */ std::string NetworkIDString() const { return strNetworkID; } + /** Return true if the fallback fee is by default enabled for this network */ + bool IsFallbackFeeEnabled() const { return m_fallback_fee_enabled; } /** Return the list of hostnames to look up for DNS seeds */ const std::vector<std::string>& DNSSeeds() const { return vSeeds; } const std::vector<unsigned char>& Base58Prefix(Base58Type type) const { return base58Prefixes[type]; } @@ -91,6 +93,7 @@ protected: bool fMineBlocksOnDemand; CCheckpointData checkpointData; ChainTxData chainTxData; + bool m_fallback_fee_enabled; }; /** |