diff options
| author | Ross Nicoll <[email protected]> | 2019-11-03 09:53:27 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-11-03 09:55:30 +0000 |
| commit | 093f1abf40ebd983f61321cc50ff850431262a1f (patch) | |
| tree | 910e59ce198e04c1d77e9e84e426bdb8f6eaf72b /src/wallet | |
| parent | Drop use of smart fees (diff) | |
| download | discoin-093f1abf40ebd983f61321cc50ff850431262a1f.tar.xz discoin-093f1abf40ebd983f61321cc50ff850431262a1f.zip | |
Correct dust and change
Correct dust threshold, which is never less than 1 DOGE.
Correct minimum change, which is 1 DOGE.
Diffstat (limited to 'src/wallet')
| -rw-r--r-- | src/wallet/wallet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 5f77a31ea..09a18f520 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -53,9 +53,9 @@ static const CAmount DEFAULT_TRANSACTION_MINFEE = COIN; //! minimum recommended increment for BIP 125 replacement txs static const CAmount WALLET_INCREMENTAL_RELAY_FEE = COIN * 5; //! target minimum change amount -static const CAmount MIN_CHANGE = CENT; +static const CAmount MIN_CHANGE = COIN; //! final minimum change amount after paying for fees -static const CAmount MIN_FINAL_CHANGE = MIN_CHANGE/2; +static const CAmount MIN_FINAL_CHANGE = COIN; //! Default for -spendzeroconfchange static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true; //! Default for -sendfreetransactions |