mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
parent
8cb8772d95
commit
581312ff90
@ -86,10 +86,7 @@ uint64_t nPruneTarget = 0;
|
|||||||
bool fAlerts = DEFAULT_ALERTS;
|
bool fAlerts = DEFAULT_ALERTS;
|
||||||
bool fEnableReplacement = DEFAULT_ENABLE_REPLACEMENT;
|
bool fEnableReplacement = DEFAULT_ENABLE_REPLACEMENT;
|
||||||
|
|
||||||
/** Fees smaller than this (in duffs) are considered zero fee (for relaying, mining and transaction creation)
|
/** Fees smaller than this (in duffs) are considered zero fee (for relaying, mining and transaction creation) */
|
||||||
* We are ~100 times smaller then bitcoin now (2015-06-23), set minRelayTxFee only 10 times higher
|
|
||||||
* so it's still 10 times lower comparing to bitcoin.
|
|
||||||
*/
|
|
||||||
CFeeRate minRelayTxFee = CFeeRate(DEFAULT_MIN_RELAY_TX_FEE);
|
CFeeRate minRelayTxFee = CFeeRate(DEFAULT_MIN_RELAY_TX_FEE);
|
||||||
|
|
||||||
CTxMemPool mempool(::minRelayTxFee);
|
CTxMemPool mempool(::minRelayTxFee);
|
||||||
|
@ -47,8 +47,11 @@ static const bool DEFAULT_ALERTS = true;
|
|||||||
static const bool DEFAULT_WHITELISTRELAY = true;
|
static const bool DEFAULT_WHITELISTRELAY = true;
|
||||||
/** Default for DEFAULT_WHITELISTFORCERELAY. */
|
/** Default for DEFAULT_WHITELISTFORCERELAY. */
|
||||||
static const bool DEFAULT_WHITELISTFORCERELAY = true;
|
static const bool DEFAULT_WHITELISTFORCERELAY = true;
|
||||||
/** Default for -minrelaytxfee, minimum relay fee for transactions */
|
/** Default for -minrelaytxfee, minimum relay fee for transactions
|
||||||
static const unsigned int DEFAULT_MIN_RELAY_TX_FEE = 10000;
|
* We are ~100 times smaller then bitcoin now (2016-03-01), set minRelayTxFee only 10 times higher
|
||||||
|
* so it's still 10 times lower comparing to bitcoin.
|
||||||
|
*/
|
||||||
|
static const unsigned int DEFAULT_MIN_RELAY_TX_FEE = 10000; // was 1000
|
||||||
/** Default for -maxorphantx, maximum number of orphan transactions kept in memory */
|
/** Default for -maxorphantx, maximum number of orphan transactions kept in memory */
|
||||||
static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100;
|
static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100;
|
||||||
/** Default for -limitancestorcount, max number of in-mempool ancestors */
|
/** Default for -limitancestorcount, max number of in-mempool ancestors */
|
||||||
|
@ -51,8 +51,6 @@ bool fSendFreeTransactions = DEFAULT_SEND_FREE_TRANSACTIONS;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Fees smaller than this (in duffs) are considered zero fee (for transaction creation)
|
* Fees smaller than this (in duffs) are considered zero fee (for transaction creation)
|
||||||
* We are ~100 times smaller then bitcoin now (2015-06-23), set minTxFee 10 times higher
|
|
||||||
* so it's still 10 times lower comparing to bitcoin.
|
|
||||||
* Override with -mintxfee
|
* Override with -mintxfee
|
||||||
*/
|
*/
|
||||||
CFeeRate CWallet::minTxFee = CFeeRate(DEFAULT_TRANSACTION_MINFEE);
|
CFeeRate CWallet::minTxFee = CFeeRate(DEFAULT_TRANSACTION_MINFEE);
|
||||||
|
@ -49,7 +49,11 @@ static const CAmount nHighTransactionFeeWarning = 0.01 * COIN;
|
|||||||
//! -fallbackfee default
|
//! -fallbackfee default
|
||||||
static const CAmount DEFAULT_FALLBACK_FEE = 20000;
|
static const CAmount DEFAULT_FALLBACK_FEE = 20000;
|
||||||
//! -mintxfee default
|
//! -mintxfee default
|
||||||
static const CAmount DEFAULT_TRANSACTION_MINFEE = 1000;
|
/**
|
||||||
|
* We are ~100 times smaller then bitcoin now (2016-03-01), set minTxFee 10 times higher
|
||||||
|
* so it's still 10 times lower comparing to bitcoin.
|
||||||
|
*/
|
||||||
|
static const CAmount DEFAULT_TRANSACTION_MINFEE = 10000; // was 1000
|
||||||
//! -maxtxfee default
|
//! -maxtxfee default
|
||||||
static const CAmount DEFAULT_TRANSACTION_MAXFEE = 0.1 * COIN;
|
static const CAmount DEFAULT_TRANSACTION_MAXFEE = 0.1 * COIN;
|
||||||
//! minimum change amount
|
//! minimum change amount
|
||||||
|
Loading…
Reference in New Issue
Block a user