tfees: add 1-2 s/b static options - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a61953673a3503d780ee8a1135f21b9edbab8d33 DIR parent da9d1e6001e3d1133901f5c2b4f16ba1b7a177e0 HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 2 Oct 2018 15:44:09 +0200 fees: add 1-2 s/b static options Diffstat: M electrum/simple_config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum/simple_config.py b/electrum/simple_config.py t@@ -22,7 +22,8 @@ FEERATE_MAX_DYNAMIC = 1500000 FEERATE_WARNING_HIGH_FEE = 600000 FEERATE_FALLBACK_STATIC_FEE = 150000 FEERATE_DEFAULT_RELAY = 1000 -FEERATE_STATIC_VALUES = [5000, 10000, 20000, 30000, 50000, 70000, 100000, 150000, 200000, 300000] +FEERATE_STATIC_VALUES = [1000, 2000, 5000, 10000, 20000, 30000, + 50000, 70000, 100000, 150000, 200000, 300000] config = None t@@ -443,7 +444,7 @@ class SimpleConfig(PrintError): else: fee_rate = self.fee_per_kb(dyn=False) pos = self.static_fee_index(fee_rate) - maxp = 9 + maxp = len(FEERATE_STATIC_VALUES) - 1 return maxp, pos, fee_rate def static_fee(self, i):