mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
fees: add 1-2 s/b static options
This commit is contained in:
parent
da9d1e6001
commit
a61953673a
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue