Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | #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(1000); | static const Amount DEFAULT_MIN_RELAY_TX_FEE(1000); | ||||
/** Default for -excesseutxocharge for transactions transactions */ | |||||
static const Amount DEFAULT_UTXO_FEE(0); | |||||
//! -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 */ | ||||
static const Amount HIGH_MAX_TX_FEE(100 * HIGH_TX_FEE_PER_KB); | static const Amount HIGH_MAX_TX_FEE(100 * HIGH_TX_FEE_PER_KB); | ||||
/** Default for -limitancestorcount, max number of in-mempool ancestors */ | /** Default for -limitancestorcount, max number of in-mempool ancestors */ | ||||
▲ Show 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | |||||
extern int nScriptCheckThreads; | extern int nScriptCheckThreads; | ||||
extern bool fTxIndex; | extern bool fTxIndex; | ||||
extern bool fIsBareMultisigStd; | extern bool fIsBareMultisigStd; | ||||
extern bool fRequireStandard; | extern bool fRequireStandard; | ||||
extern bool fCheckBlockIndex; | extern bool fCheckBlockIndex; | ||||
extern bool fCheckpointsEnabled; | extern bool fCheckpointsEnabled; | ||||
extern size_t nCoinCacheUsage; | extern size_t nCoinCacheUsage; | ||||
/** Amount to charge for creation of excessive utxos */ | |||||
extern Amount excessUTXOCharge; | |||||
/** A fee rate smaller than this is considered zero fee (for relaying, mining | /** A fee rate smaller than this is considered zero fee (for relaying, mining | ||||
* and transaction creation) */ | * and transaction creation) */ | ||||
extern CFeeRate minRelayTxFee; | extern CFeeRate minRelayTxFee; | ||||
/** Absolute maximum transaction fee (in satoshis) used by wallet and mempool | /** Absolute maximum transaction fee (in satoshis) used by wallet and mempool | ||||
* (rejects high fee in sendrawtransaction) */ | * (rejects high fee in sendrawtransaction) */ | ||||
extern Amount maxTxFee; | extern Amount maxTxFee; | ||||
/** If the tip is older than this (in seconds), the node is considered to be in | /** If the tip is older than this (in seconds), the node is considered to be in | ||||
* initial block download. */ | * initial block download. */ | ||||
▲ Show 20 Lines • Show All 484 Lines • Show Last 20 Lines |