Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
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) | ||||
constexpr Amount HIGH_MAX_TX_FEE{100 * HIGH_TX_FEE_PER_KB}; | constexpr Amount HIGH_MAX_TX_FEE{100 * HIGH_TX_FEE_PER_KB}; | ||||
//! Pre-calculated constants for input size estimation | |||||
static constexpr size_t DUMMY_P2PKH_INPUT_SIZE = 148; | |||||
class CChainParams; | class CChainParams; | ||||
class CCoinControl; | class CCoinControl; | ||||
class COutput; | class COutput; | ||||
class CScript; | class CScript; | ||||
class CTxMemPool; | class CTxMemPool; | ||||
class CWalletTx; | class CWalletTx; | ||||
class ReserveDestination; | class ReserveDestination; | ||||
▲ Show 20 Lines • Show All 1,481 Lines • Show Last 20 Lines |