URI: 
       tset default fee to 0.5mBTC/kb - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit bde0ca3ea1e82a50e7422db57617f879865c7f19
   DIR parent 8d396997dca8d07393c468af51b9b7c2f0dc18e7
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Mon, 15 Sep 2014 07:35:05 +0200
       
       set default fee to 0.5mBTC/kb
       
       Diffstat:
         M gui/qt/main_window.py               |       3 ++-
         M lib/bitcoin.py                      |       4 +++-
         M lib/wallet.py                       |       5 +----
       
       3 files changed, 6 insertions(+), 6 deletions(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -2570,7 +2570,8 @@ class ElectrumWindow(QMainWindow):
                widgets.append((nz_label, nz, nz_help))
        
                fee_label = QLabel(_('Transaction fee per kb') + ':')
       -        fee_help = HelpButton(_('Fee per kilobyte of transaction.') + '\n' + _('Recommended value') + ': ' + self.format_amount(10000) + ' ' + self.base_unit())
       +        fee_help = HelpButton(_('Fee per kilobyte of transaction.') + '\n' \
       +                              + _('Recommended value') + ': ' + self.format_amount(bitcoin.RECOMMENDED_FEE) + ' ' + self.base_unit())
                fee_e = BTCAmountEdit(self.get_decimal_point)
                fee_e.setAmount(self.wallet.fee_per_kb)
                if not self.config.is_modifiable('fee_per_kb'):
   DIR diff --git a/lib/bitcoin.py b/lib/bitcoin.py
       t@@ -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))
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -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
       t@@ -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