Litecoin: Default minRelayTxFee and CWallet::minTxFee set by DEFAULT_TX_FEE
Miners can adjust the minimum fee per 1000 bytes they are willing to accept with the -minrelaytxfee parameter.
This commit is contained in:
parent
e76542af8c
commit
ca24fa8ad7
@ -56,7 +56,7 @@ unsigned int nCoinCacheSize = 5000;
|
||||
|
||||
|
||||
/** Fees smaller than this (in satoshi) are considered zero fee (for relaying and mining) */
|
||||
CFeeRate minRelayTxFee = CFeeRate(DUST_THRESHOLD);
|
||||
CFeeRate minRelayTxFee = CFeeRate(DEFAULT_TX_FEE);
|
||||
|
||||
CTxMemPool mempool(::minRelayTxFee);
|
||||
|
||||
|
||||
@ -97,6 +97,8 @@ static const unsigned int MAX_REJECT_MESSAGE_LENGTH = 111;
|
||||
|
||||
/** Litecoin: Dust Threshold: outputs below this value in satoshis are assessed an additional 1000 bytes per txout */
|
||||
static const CAmount DUST_THRESHOLD = 100000; // 0.001 LTC
|
||||
/** Litecoin: Default TX Fee per 1000 bytes */
|
||||
static const CAmount DEFAULT_TX_FEE = 100000; // 0.001 LTC
|
||||
|
||||
/** Litecoin: default minimum input threshold, override with -mininput */
|
||||
static const CAmount DEFAULT_MINIMUM_INPUT_THRESHOLD = DUST_THRESHOLD / 100; // 0.00001 LTC
|
||||
|
||||
@ -38,7 +38,7 @@ CAmount nMinimumInputThreshold = DEFAULT_MINIMUM_INPUT_THRESHOLD;
|
||||
* Fees smaller than this (in satoshi) are considered zero fee (for transaction creation)
|
||||
* Override with -mintxfee
|
||||
*/
|
||||
CFeeRate CWallet::minTxFee = CFeeRate(DUST_THRESHOLD);
|
||||
CFeeRate CWallet::minTxFee = CFeeRate(DEFAULT_TX_FEE);
|
||||
|
||||
/** @defgroup mapWallet
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user