Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | |||||
//! -mintxfee default | //! -mintxfee default | ||||
static const Amount DEFAULT_TRANSACTION_MINFEE_PER_KB = 1000 * SATOSHI; | static const Amount DEFAULT_TRANSACTION_MINFEE_PER_KB = 1000 * SATOSHI; | ||||
//! minimum recommended increment for BIP 125 replacement txs | //! minimum recommended increment for BIP 125 replacement txs | ||||
static const Amount WALLET_INCREMENTAL_RELAY_FEE(5000 * SATOSHI); | static const Amount WALLET_INCREMENTAL_RELAY_FEE(5000 * SATOSHI); | ||||
//! Default for -spendzeroconfchange | //! Default for -spendzeroconfchange | ||||
static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true; | static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true; | ||||
//! Default for -walletrejectlongchains | //! Default for -walletrejectlongchains | ||||
static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS = false; | static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS = false; | ||||
//! Default for -avoidpartialspends | |||||
static const bool DEFAULT_AVOIDPARTIALSPENDS = false; | |||||
static const bool DEFAULT_WALLETBROADCAST = true; | static const bool DEFAULT_WALLETBROADCAST = true; | ||||
static const bool DEFAULT_DISABLE_WALLET = false; | static const bool DEFAULT_DISABLE_WALLET = false; | ||||
//! -maxtxfee default | //! -maxtxfee default | ||||
constexpr Amount DEFAULT_TRANSACTION_MAXFEE{COIN / 10}; | constexpr Amount DEFAULT_TRANSACTION_MAXFEE{COIN / 10}; | ||||
//! Discourage users to set fees higher than this amount (in satoshis) per kB | //! Discourage users to set fees higher than this amount (in satoshis) per kB | ||||
constexpr Amount HIGH_TX_FEE_PER_KB{COIN / 100}; | constexpr Amount HIGH_TX_FEE_PER_KB{COIN / 100}; | ||||
//! -maxtxfee will warn if called with a higher fee than this amount (in | //! -maxtxfee will warn if called with a higher fee than this amount (in | ||||
//! satoshis) | //! satoshis) | ||||
▲ Show 20 Lines • Show All 1,364 Lines • Show Last 20 Lines |