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:
Warren Togami 2015-04-01 16:36:49 -10:00
parent e76542af8c
commit ca24fa8ad7
3 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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

View File

@ -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
*