Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.h
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Lines | public: | ||||
//! Get minimum fee. | //! Get minimum fee. | ||||
virtual Amount getMinimumFee(unsigned int tx_bytes, | virtual Amount getMinimumFee(unsigned int tx_bytes, | ||||
const CCoinControl &coin_control) = 0; | const CCoinControl &coin_control) = 0; | ||||
// Return whether HD enabled. | // Return whether HD enabled. | ||||
virtual bool hdEnabled() = 0; | virtual bool hdEnabled() = 0; | ||||
// Check if a certain wallet flag is set. | |||||
virtual bool IsWalletFlagSet(uint64_t flag) = 0; | |||||
// Get default address type. | // Get default address type. | ||||
virtual OutputType getDefaultAddressType() = 0; | virtual OutputType getDefaultAddressType() = 0; | ||||
// Get default change type. | // Get default change type. | ||||
virtual OutputType getDefaultChangeType() = 0; | virtual OutputType getDefaultChangeType() = 0; | ||||
//! Register handler for unload message. | //! Register handler for unload message. | ||||
using UnloadFn = std::function<void()>; | using UnloadFn = std::function<void()>; | ||||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |