Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
namespace Consensus { | namespace Consensus { | ||||
struct Params; | struct Params; | ||||
} | } | ||||
#define MIN_TRANSACTION_SIZE \ | #define MIN_TRANSACTION_SIZE \ | ||||
(::GetSerializeSize(CTransaction(), PROTOCOL_VERSION)) | (::GetSerializeSize(CTransaction(), PROTOCOL_VERSION)) | ||||
/** Default for -whitelistrelay. */ | |||||
static const bool DEFAULT_WHITELISTRELAY = true; | |||||
/** Default for -whitelistforcerelay. */ | |||||
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(1000 * 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); | ||||
▲ Show 20 Lines • Show All 744 Lines • Show Last 20 Lines |