Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.h
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Lines | public: | ||||
//! Relay current minimum fee (from -minrelaytxfee settings). | //! Relay current minimum fee (from -minrelaytxfee settings). | ||||
virtual CFeeRate relayMinFee() = 0; | virtual CFeeRate relayMinFee() = 0; | ||||
//! Relay dust fee setting (-dustrelayfee), reflecting lowest rate it's | //! Relay dust fee setting (-dustrelayfee), reflecting lowest rate it's | ||||
//! economical to spend. | //! economical to spend. | ||||
virtual CFeeRate relayDustFee() = 0; | virtual CFeeRate relayDustFee() = 0; | ||||
//! Get node max tx fee setting (-maxtxfee). | |||||
//! This could be replaced by a per-wallet max fee, as proposed at | |||||
//! https://github.com/bitcoin/bitcoin/issues/15355 | |||||
//! But for the time being, wallets call this to access the node setting. | |||||
virtual Amount maxTxFee() = 0; | |||||
//! Check if pruning is enabled. | //! Check if pruning is enabled. | ||||
virtual bool getPruneMode() = 0; | virtual bool getPruneMode() = 0; | ||||
//! Check if p2p enabled. | //! Check if p2p enabled. | ||||
virtual bool p2pEnabled() = 0; | virtual bool p2pEnabled() = 0; | ||||
//! Check if the node is ready to broadcast transactions. | //! Check if the node is ready to broadcast transactions. | ||||
virtual bool isReadyToBroadcast() = 0; | virtual bool isReadyToBroadcast() = 0; | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |