more accurate computation of transaction fees.
This commit is contained in:
@@ -198,7 +198,7 @@ def run_settings_dialog(wallet, parent):
|
||||
fee_entry.connect('changed', numbify, False)
|
||||
fee_entry.show()
|
||||
fee.pack_start(fee_entry,False,False, 10)
|
||||
add_help_button(fee, 'Fee per transaction input. Transactions involving multiple inputs tend to have a higher fee. Recommended value:0.0005')
|
||||
add_help_button(fee, 'Fee per kilobyte of transaction. Recommended value:0.0001')
|
||||
fee.show()
|
||||
vbox.pack_start(fee, False,False, 5)
|
||||
|
||||
@@ -843,6 +843,11 @@ class ElectrumWindow:
|
||||
except BaseException, e:
|
||||
self.show_message(str(e))
|
||||
return
|
||||
|
||||
if tx.requires_fee(self.wallet.verifier) and fee == 0:
|
||||
self.show_message( "This transaction requires a fee, or it will not be propagated by the network." )
|
||||
return
|
||||
|
||||
|
||||
if label:
|
||||
self.wallet.labels[tx.hash()] = label
|
||||
|
||||
Reference in New Issue
Block a user