Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.h
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | public: | ||||
virtual Amount maxTxFee() = 0; | 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 in IBD. | |||||
virtual bool isInitialBlockDownload() = 0; | |||||
//! Get adjusted time. | //! Get adjusted time. | ||||
virtual int64_t getAdjustedTime() = 0; | virtual int64_t getAdjustedTime() = 0; | ||||
//! Send init message. | //! Send init message. | ||||
virtual void initMessage(const std::string &message) = 0; | virtual void initMessage(const std::string &message) = 0; | ||||
//! Send init warning. | //! Send init warning. | ||||
virtual void initWarning(const std::string &message) = 0; | virtual void initWarning(const std::string &message) = 0; | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |