Browse Source
increase default fee per kb values + add urgent level
feat/estimateFee-limit
Ivan Socolsky
8 years ago
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with
9 additions and
4 deletions
-
lib/common/defaults.js
|
|
@ -25,21 +25,26 @@ Defaults.MAX_MAIN_ADDRESS_GAP = 20; |
|
|
|
Defaults.SCAN_ADDRESS_GAP = Defaults.MAX_MAIN_ADDRESS_GAP + 20; |
|
|
|
|
|
|
|
Defaults.FEE_LEVELS = [{ |
|
|
|
name: 'urgent', |
|
|
|
nbBlocks: 2, |
|
|
|
multiplier: 1.5, |
|
|
|
defaultValue: 150000, |
|
|
|
}, { |
|
|
|
name: 'priority', |
|
|
|
nbBlocks: 2, |
|
|
|
defaultValue: 50000 |
|
|
|
defaultValue: 100000 |
|
|
|
}, { |
|
|
|
name: 'normal', |
|
|
|
nbBlocks: 3, |
|
|
|
defaultValue: 40000 |
|
|
|
defaultValue: 80000 |
|
|
|
}, { |
|
|
|
name: 'economy', |
|
|
|
nbBlocks: 6, |
|
|
|
defaultValue: 25000 |
|
|
|
defaultValue: 50000 |
|
|
|
}, { |
|
|
|
name: 'superEconomy', |
|
|
|
nbBlocks: 24, |
|
|
|
defaultValue: 10000 |
|
|
|
defaultValue: 20000 |
|
|
|
}]; |
|
|
|
|
|
|
|
Defaults.DEFAULT_FEE_PER_KB = Defaults.FEE_LEVELS[1].defaultValue; |
|
|
|