aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-12-12 10:32:50 -1000
committerJonas Schnelli <dev@jonasschnelli.ch>2018-02-25 09:33:46 +0800
commit8222e057fe60934a57b1d8226b0e1bd071f8dac2 (patch)
tree8439061439ed2cb0ee480b8246243ee91f4f70e9 /src/chainparams.cpp
parent67447ba06057b8e83f962c82491d2fe6c5211f50 (diff)
Disable wallet fallbackfee by default on mainnet
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r--src/chainparams.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index 6eb223171f..c2b3480f9d 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -175,6 +175,9 @@ public:
// (the tx=... number in the SetBestChain debug.log lines)
3.5 // * estimated number of transactions per second after that timestamp
};
+
+ /* disable fallback fee on mainnet */
+ m_fallback_fee_enabled = false;
}
};
@@ -266,6 +269,8 @@ public:
0.09
};
+ /* enable fallback fee on testnet */
+ m_fallback_fee_enabled = true;
}
};
@@ -343,6 +348,9 @@ public:
base58Prefixes[EXT_SECRET_KEY] = {0x04, 0x35, 0x83, 0x94};
bech32_hrp = "bcrt";
+
+ /* enable fallback fee on regtest */
+ m_fallback_fee_enabled = true;
}
};