Update comments and tooltips.

This commit is contained in:
Neil Booth 2016-01-15 15:25:01 +09:00
parent 53fa973898
commit 6bf91b8ae2
2 changed files with 3 additions and 7 deletions

View File

@ -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))

View File

@ -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]