Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | |||||
#define MIN_TRANSACTION_SIZE \ | #define MIN_TRANSACTION_SIZE \ | ||||
(::GetSerializeSize(CTransaction(), SER_NETWORK, PROTOCOL_VERSION)) | (::GetSerializeSize(CTransaction(), SER_NETWORK, PROTOCOL_VERSION)) | ||||
/** Default for DEFAULT_WHITELISTRELAY. */ | /** Default for DEFAULT_WHITELISTRELAY. */ | ||||
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 Amount DEFAULT_MIN_RELAY_TX_FEE_PER_KB(1000 * SATOSHI); | static const Amount DEFAULT_MIN_RELAY_TX_FEE_PER_KB(100 * SATOSHI); | ||||
/** Default for -excessutxocharge for transactions transactions */ | /** Default for -excessutxocharge for transactions transactions */ | ||||
static const Amount DEFAULT_UTXO_FEE = Amount::zero(); | static const Amount DEFAULT_UTXO_FEE = Amount::zero(); | ||||
//! -maxtxfee default | //! -maxtxfee default | ||||
static const Amount DEFAULT_TRANSACTION_MAXFEE(COIN / 10); | static const 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 | ||||
static const Amount HIGH_TX_FEE_PER_KB(COIN / 100); | static const 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 619 Lines • Show Last 20 Lines |