From 461764cbbea5965ebbd248f221876743d7a9ccd4 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Mon, 8 Nov 2010 22:06:07 +0000 Subject: -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 --- init.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index b10e22a329..78e842b5a9 100644 --- a/init.cpp +++ b/init.cpp @@ -173,6 +173,7 @@ bool AppInit2(int argc, char* argv[]) " -proxy= \t " + _("Connect through socks4 proxy\n") + " -addnode= \t " + _("Add a node to connect to\n") + " -connect= \t\t " + _("Connect only to the specified node\n") + + " -paytxfee= \t " + _("Fee per KB to add to transactions you send\n") + " -server \t\t " + _("Accept command line and JSON-RPC commands\n") + " -daemon \t\t " + _("Run in the background as a daemon and accept commands\n") + " -testnet \t\t " + _("Use the test network\n") + @@ -413,7 +414,7 @@ bool AppInit2(int argc, char* argv[]) wxMessageBox(_("Invalid amount for -paytxfee="), "Bitcoin"); return false; } - if (nTransactionFee > 1 * COIN) + if (nTransactionFee > 0.25 * COIN) wxMessageBox(_("Warning: -paytxfee is set very high. This is the transaction fee you will pay if you send a transaction."), "Bitcoin", wxOK | wxICON_EXCLAMATION); } -- cgit v1.2.3