aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorBardi Harborow <bardi_harborow@yahoo.com.au>2014-03-29 05:17:28 -0400
committerBardi Harborow <bardi_harborow@yahoo.com.au>2014-03-29 05:17:28 -0400
commitffeb47366df02b7f859ce3e64f2304967c837e8e (patch)
tree8f151f3d4a71dc033350dee92b9d4c3534f795ac /src/wallet.h
parent55027a8c85e373f8e7e750cc18e97308be31094b (diff)
downloadbitcoin-ffeb47366df02b7f859ce3e64f2304967c837e8e.tar.xz
Add nHighTransactionFeeWarning as per #3969.
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 487c258a20..ef02c90eda 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -27,6 +27,9 @@
extern int64_t nTransactionFee;
extern bool bSpendZeroConfChange;
+// -paytxfee will warn if called with a higher fee than this amount (in satoshis) per KB
+static const int nHighTransactionFeeWarning = 0.01 * COIN;
+
class CAccountingEntry;
class CCoinControl;
class COutput;