Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.h
Show First 20 Lines • Show All 217 Lines • ▼ Show 20 Lines | 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; | ||||
// Get default address type. | // Get default address type. | ||||
virtual OutputType getDefaultAddressType() = 0; | virtual OutputType getDefaultAddressType() = 0; | ||||
// Get default change type. | |||||
virtual OutputType getDefaultChangeType() = 0; | |||||
//! Register handler for show progress messages. | //! Register handler for show progress messages. | ||||
using ShowProgressFn = | using ShowProgressFn = | ||||
std::function<void(const std::string &title, int progress)>; | std::function<void(const std::string &title, int progress)>; | ||||
virtual std::unique_ptr<Handler> handleShowProgress(ShowProgressFn fn) = 0; | virtual std::unique_ptr<Handler> handleShowProgress(ShowProgressFn fn) = 0; | ||||
//! Register handler for status changed messages. | //! Register handler for status changed messages. | ||||
using StatusChangedFn = std::function<void()>; | using StatusChangedFn = std::function<void()>; | ||||
virtual std::unique_ptr<Handler> | virtual std::unique_ptr<Handler> | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |