Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/scriptpubkeyman.h
Show All 23 Lines | |||||
// a circular dependency. WalletStorage should be the same for all | // a circular dependency. WalletStorage should be the same for all | ||||
// ScriptPubKeyMans of a wallet. | // ScriptPubKeyMans of a wallet. | ||||
class WalletStorage { | class WalletStorage { | ||||
public: | public: | ||||
virtual ~WalletStorage() = default; | virtual ~WalletStorage() = default; | ||||
virtual const std::string GetDisplayName() const = 0; | virtual const std::string GetDisplayName() const = 0; | ||||
virtual WalletDatabase &GetDatabase() = 0; | virtual WalletDatabase &GetDatabase() = 0; | ||||
virtual bool IsWalletFlagSet(uint64_t) const = 0; | virtual bool IsWalletFlagSet(uint64_t) const = 0; | ||||
virtual void SetWalletFlag(uint64_t) = 0; | |||||
virtual void UnsetWalletFlagWithDB(WalletBatch &, uint64_t) = 0; | virtual void UnsetWalletFlagWithDB(WalletBatch &, uint64_t) = 0; | ||||
virtual bool CanSupportFeature(enum WalletFeature) const = 0; | virtual bool CanSupportFeature(enum WalletFeature) const = 0; | ||||
virtual void SetMinVersion(enum WalletFeature, WalletBatch * = nullptr, | virtual void SetMinVersion(enum WalletFeature, WalletBatch * = nullptr, | ||||
bool = false) = 0; | bool = false) = 0; | ||||
virtual bool IsLocked() const = 0; | virtual bool IsLocked() const = 0; | ||||
}; | }; | ||||
//! Default for -keypool | //! Default for -keypool | ||||
▲ Show 20 Lines • Show All 407 Lines • Show Last 20 Lines |