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/validation.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/validation.h')
| -rw-r--r-- | src/validation.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/validation.h b/src/validation.h index 9e7305492..138103803 100644 --- a/src/validation.h +++ b/src/validation.h @@ -58,9 +58,11 @@ static const unsigned int DEFAULT_MIN_RELAY_TX_FEE = COIN; //! -maxtxfee default static const CAmount DEFAULT_TRANSACTION_MAXFEE = 400 * COIN; //! Discourage users to set fees higher than this amount (in satoshis) per kB -static const CAmount HIGH_TX_FEE_PER_KB = 25 * COIN; +//mlumin: 5/2021 adjusted downward for fee revisions +static const CAmount HIGH_TX_FEE_PER_KB = 10 * COIN; //! -maxtxfee will warn if called with a higher fee than this amount (in satoshis) -static const CAmount HIGH_MAX_TX_FEE = 10 * HIGH_TX_FEE_PER_KB; +//mlumin: 5/2021 adjusted max upward in terms of coin +static const CAmount HIGH_MAX_TX_FEE = 100 * HIGH_TX_FEE_PER_KB; /** Default for -limitancestorcount, max number of in-mempool ancestors */ static const unsigned int DEFAULT_ANCESTOR_LIMIT = 25; /** Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool ancestors */ @@ -175,7 +177,8 @@ extern bool fCheckBlockIndex; extern bool fCheckpointsEnabled; extern size_t nCoinCacheUsage; /** A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation) */ -extern CFeeRate minRelayTxFee; +//mlumin 5/2021: changing variable name to Rate vs Fee because thats what it is. +extern CFeeRate minRelayTxFeeRate; /** Absolute maximum transaction fee (in satoshis) used by wallet and mempool (rejects high fee in sendrawtransaction) */ extern CAmount maxTxFee; extern bool fAlerts; |