tconfirmaion dialog if transaction fee is high - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 89d42292075d867eadedd1b19993299c5b0eb596 DIR parent 8090098d90141ebe6f340cb5917d385f280d2d86 HTML Author: thomasv <thomasv@gitorious> Date: Mon, 16 Dec 2013 15:16:10 +0100 confirmaion dialog if transaction fee is high Diffstat: M RELEASE-NOTES | 5 +++++ M gui/qt/main_window.py | 5 +++++ 2 files changed, 10 insertions(+), 0 deletions(-) --- DIR diff --git a/RELEASE-NOTES b/RELEASE-NOTES t@@ -1,3 +1,8 @@ +# Release 1.9.6 +* During wallet creation, do not write seed to disk until it is encrypted. +* Confirmation dialog if the transaction fee is higher than 1mBTC. +* bugfixes + # Release 1.9.5 * Coin control: select addresses to send from DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -903,6 +903,11 @@ class ElectrumWindow(QMainWindow): if amount >= confirm_amount: if not self.question(_("send %(amount)s to %(address)s?")%{ 'amount' : self.format_amount(amount) + ' '+ self.base_unit(), 'address' : to_address}): return + + confirm_fee = self.config.get('confirm_fee', 100000) + if fee >= confirm_fee: + if not self.question(_("The fee for this transaction seems unusually high.\nAre you really sure you want to pay %(fee)s in fees?")%{ 'fee' : self.format_amount(fee) + ' '+ self.base_unit()}): + return self.send_tx(to_address, amount, fee, label)