diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-08 22:06:07 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-08 22:06:07 +0000 |
commit | 461764cbbea5965ebbd248f221876743d7a9ccd4 (patch) | |
tree | e188896a34a17405f88a3968aa94d3aaf7046585 /ui.cpp | |
parent | 3b8848fa4e9b2cd8187cf90a7cbeabd662490c2b (diff) |
-paytxfee is now per KB,
BitcoinMiner prioritise transactions by how old their dependencies are
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@176 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -196,7 +196,7 @@ int ThreadSafeMessageBox(const string& message, const string& caption, int style bool ThreadSafeAskFee(int64 nFeeRequired, const string& strCaption, wxWindow* parent) { - if (nFeeRequired < CENT || fDaemon) + if (nFeeRequired < CENT || nFeeRequired <= nTransactionFee || fDaemon) return true; string strMessage = strprintf( _("This transaction is over the size limit. You can still send it for a fee of %s, " @@ -1966,8 +1966,13 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event) string strError = SendMoney(scriptPubKey, nValue, wtx, true); if (strError == "") wxMessageBox(_("Payment sent "), _("Sending...")); - else if (strError != "ABORTED") + else if (strError == "ABORTED") + return; // leave send dialog open + else + { wxMessageBox(strError + " ", _("Sending...")); + EndModal(false); + } } else { |