diff options
| author | Michi Lumin <[email protected]> | 2021-05-06 15:30:55 -0600 |
|---|---|---|
| committer | michilumin <[email protected]> | 2021-07-30 16:07:22 -0600 |
| commit | 575f734eec14b122b2e460dcefb56a54840ea479 (patch) | |
| tree | 7765fbeda190b3630de9810f4b246a7c1c0c5e75 /src/wallet/wallet.h | |
| parent | Merge pull request #2426 from xanimo/1.14.4-qa (diff) | |
| download | discoin-575f734eec14b122b2e460dcefb56a54840ea479.tar.xz discoin-575f734eec14b122b2e460dcefb56a54840ea479.zip | |
Initial back end framework to separate wallet and relay fees + dust.
Diffstat (limited to 'src/wallet/wallet.h')
| -rw-r--r-- | src/wallet/wallet.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index e1a9be1c2..329923aa3 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -38,6 +38,8 @@ extern CWallet* pwalletMain; * Settings */ extern CFeeRate payTxFee; +//mlumin 5/2021: add minWalletTxFee to separate out wallet and relay. +extern CFeeRate minWalletTxFeeRate; extern unsigned int nTxConfirmTarget; extern bool bSpendZeroConfChange; extern bool fSendFreeTransactions; @@ -45,11 +47,14 @@ extern bool fWalletRbf; static const unsigned int DEFAULT_KEYPOOL_SIZE = 100; //! -paytxfee default -static const CAmount DEFAULT_TRANSACTION_FEE = 0; +static const CAmount DEFAULT_TRANSACTION_FEE = COIN; //! -fallbackfee default +//mlumin: 5/2021 scaled minimum, this likely will have to change for fee reduction static const CAmount DEFAULT_FALLBACK_FEE = COIN; //! -mintxfee default static const CAmount DEFAULT_TRANSACTION_MINFEE = COIN; +//mlumin 5/2021: adding a minimum Wallet fee vs relay, currently still 1 COIN, to be reduced. +static const unsigned int DEFAULT_MIN_WALLET_TX_FEE = COIN; //! minimum recommended increment for BIP 125 replacement txs static const CAmount WALLET_INCREMENTAL_RELAY_FEE = COIN * 5; //! target minimum change amount |