diff options
| author | Philip Kaufmann <[email protected]> | 2014-05-05 20:54:00 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-05-05 20:54:00 +0200 |
| commit | 3e1cf9b6f68bac2456258ea7b12f2342c760a223 (patch) | |
| tree | 409906225a7e32b7cda098ba62859fa5b8ceeb2f /src/wallet.h | |
| parent | Merge pull request #4120 (diff) | |
| download | discoin-3e1cf9b6f68bac2456258ea7b12f2342c760a223.tar.xz discoin-3e1cf9b6f68bac2456258ea7b12f2342c760a223.zip | |
add DEFAULT_TRANSACTION_FEE constant in wallet
- as this is a shared Core/GUI setting, this makes it easier to keep them
in sync (also no new includes are needed)
Diffstat (limited to 'src/wallet.h')
| -rw-r--r-- | src/wallet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h index 5fd56d0af..b2c06d3f6 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -27,6 +27,8 @@ extern int64_t nTransactionFee; extern bool bSpendZeroConfChange; +// -paytxfee default +static const int64_t DEFAULT_TRANSACTION_FEE = 0; // -paytxfee will warn if called with a higher fee than this amount (in satoshis) per KB static const int nHighTransactionFeeWarning = 0.01 * COIN; |