diff --git a/src/main.cpp b/src/main.cpp index 914e62636..b22e2b486 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); diff --git a/src/main.h b/src/main.h index 9c2efee47..d2c80504b 100644 --- a/src/main.h +++ b/src/main.h @@ -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 diff --git a/src/wallet.cpp b/src/wallet.cpp index 8bdaf3c33..4bb453dc7 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -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 *