Browse Source

Update comments and tooltips.

283
Neil Booth 9 years ago
parent
commit
6bf91b8ae2
  1. 2
      gui/qt/main_window.py
  2. 8
      lib/coinchooser.py

2
gui/qt/main_window.py

@ -2756,7 +2756,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
multiple_change = self.wallet.multiple_change
multiple_cb = QCheckBox(_('Multiple'))
multiple_cb.setEnabled(self.wallet.use_change)
multiple_cb.setToolTip(_('If appropriate use up to 3 change addresses.'))
multiple_cb.setToolTip(_('If appropriate use up to 3 change addresses.\nThis might raise the transaction fee slightly.'))
multiple_cb.setChecked(multiple_change)
multiple_cb.stateChanged.connect(on_multiple)
tx_widgets.append((usechange_cb, multiple_cb))

8
lib/coinchooser.py

@ -228,12 +228,8 @@ class CoinChooserPrivacy(CoinChooserRandom):
reduce blockchain UTXO bloat, and reduce future privacy loss that
would come from reusing that address' remaining UTXOs. Second, it
penalizes change that is quite different to the sent amount.
Third, it penalizes change that is too big. Fourth, it breaks
large change up into amounts comparable to the spent amount.
Finally, change is rounded to similar precision to sent amounts.
Extra change outputs and rounding might raise the transaction fee
slightly. Transaction priority might be less than if older coins
were chosen.'''
Third, it penalizes change that is too big. Transaction priority
might be less than if older coins were chosen.'''
def keys(self, coins):
return [coin['address'] for coin in coins]

Loading…
Cancel
Save