set default fee to 0.5mBTC/kb
This commit is contained in:
@@ -38,8 +38,10 @@ except ImportError:
|
||||
|
||||
################################## transactions
|
||||
|
||||
DUST_THRESHOLD = 5430
|
||||
MIN_RELAY_TX_FEE = 1000
|
||||
|
||||
RECOMMENDED_FEE = 50000
|
||||
COINBASE_MATURITY = 100
|
||||
|
||||
# AES encryption
|
||||
EncodeAES = lambda secret, s: base64.b64encode(aes.encryptData(secret,s))
|
||||
|
||||
@@ -39,8 +39,6 @@ import bitcoin
|
||||
from synchronizer import WalletSynchronizer
|
||||
from mnemonic import Mnemonic
|
||||
|
||||
COINBASE_MATURITY = 100
|
||||
DUST_THRESHOLD = 5430
|
||||
|
||||
|
||||
# internal ID for imported account
|
||||
@@ -163,8 +161,7 @@ class Abstract_Wallet(object):
|
||||
self.addressbook = storage.get('contacts', [])
|
||||
|
||||
self.history = storage.get('addr_history',{}) # address -> list(txid, height)
|
||||
|
||||
self.fee_per_kb = int(storage.get('fee_per_kb', 10000))
|
||||
self.fee_per_kb = int(storage.get('fee_per_kb', RECOMMENDED_FEE))
|
||||
|
||||
# This attribute is set when wallet.start_threads is called.
|
||||
self.synchronizer = None
|
||||
|
||||
Reference in New Issue
Block a user