5#ifndef BITCOIN_QT_WALLETMODEL_H
6#define BITCOIN_QT_WALLETMODEL_H
147 void refresh(
bool pk_hash_only =
false);
int64_t CAmount
Amount in satoshis (Can be negative)
Qt model of the address book in the core.
A reference to a CKey: the Hash160 of its serialized public key.
An outpoint - a combination of a transaction hash and an index n into its vout.
An encapsulated public key.
Model for Bitcoin network client.
Interface from Qt to configuration data structure for Bitcoin client.
Model for list of recently generated payment requests / bitcoin: URIs.
UI model for the transaction table of a wallet.
UnlockContext(WalletModel *wallet, bool valid, bool relock)
UnlockContext(UnlockContext &&)=delete
UnlockContext(const UnlockContext &)=delete
UnlockContext & operator=(const UnlockContext &)=delete
UnlockContext & operator=(UnlockContext &&)=delete
Interface to Bitcoin wallet from Qt view code.
OptionsModel * optionsModel
AddressTableModel * addressTableModel
RecentRequestsTableModel * getRecentRequestsTableModel() const
EncryptionStatus cachedEncryptionStatus
void refresh(bool pk_hash_only=false)
uint256 m_cached_last_update_tip
ClientModel * m_client_model
std::unique_ptr< interfaces::Handler > m_handler_watch_only_changed
interfaces::Node & m_node
ClientModel & clientModel() const
interfaces::Node & node() const
std::unique_ptr< interfaces::Handler > m_handler_transaction_changed
void pollBalanceChanged()
AddressTableModel * getAddressTableModel() const
RecentRequestsTableModel * recentRequestsTableModel
SendCoinsReturn prepareTransaction(WalletModelTransaction &transaction, const wallet::CCoinControl &coinControl)
TransactionTableModel * transactionTableModel
bool setWalletEncrypted(const SecureString &passphrase)
void notifyWatchonlyChanged(bool fHaveWatchonly)
bool changePassphrase(const SecureString &oldPass, const SecureString &newPass)
void showProgress(const QString &title, int nProgress)
bool setWalletLocked(bool locked, const SecureString &passPhrase=SecureString())
void updateAddressBook(const QString &address, const QString &label, bool isMine, wallet::AddressPurpose purpose, int status)
void message(const QString &title, const QString &message, unsigned int style)
bool validateAddress(const QString &address) const
void sendCoins(WalletModelTransaction &transaction)
void setClientModel(ClientModel *client_model)
CAmount getAvailableBalance(const wallet::CCoinControl *control)
bool isMultiwallet() const
std::unique_ptr< interfaces::Handler > m_handler_can_get_addrs_changed
std::unique_ptr< interfaces::Handler > m_handler_unload
void displayAddress(std::string sAddress) const
EncryptionStatus getEncryptionStatus() const
TransactionTableModel * getTransactionTableModel() const
interfaces::Wallet & wallet() const
std::unique_ptr< interfaces::Handler > m_handler_status_changed
interfaces::WalletBalances m_cached_balances
bool fForceCheckBalanceChanged
void coinsSent(WalletModel *wallet, SendCoinsRecipient recipient, QByteArray transaction)
QString getDisplayName() const
OptionsModel * getOptionsModel() const
bool bumpFee(uint256 hash, uint256 &new_hash)
void checkBalanceChanged(const interfaces::WalletBalances &new_balances)
void unsubscribeFromCoreSignals()
uint256 getLastBlockProcessed() const
void canGetAddressesChanged()
WalletModel(std::unique_ptr< interfaces::Wallet > wallet, ClientModel &client_model, const PlatformStyle *platformStyle, QObject *parent=nullptr)
void updateWatchOnlyFlag(bool fHaveWatchonly)
std::unique_ptr< interfaces::Handler > m_handler_address_book_changed
void encryptionStatusChanged()
std::unique_ptr< interfaces::Wallet > m_wallet
UnlockContext requestUnlock()
void balanceChanged(const interfaces::WalletBalances &balances)
static bool isWalletEnabled()
interfaces::WalletBalances getCachedBalance() const
QString getWalletName() const
std::unique_ptr< interfaces::Handler > m_handler_show_progress
@ AmountWithFeeExceedsBalance
@ TransactionCreationFailed
void subscribeToCoreSignals()
Data model for a walletmodel transaction.
Top-level interface for a bitcoin node (bitcoind process).
Interface for accessing a wallet.
AddressPurpose
Address purpose field that has been been stored with wallet sending and receiving addresses since BIP...
std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
QString reasonCommitFailed
SendCoinsReturn(StatusCode _status=OK, QString _reasonCommitFailed="")
Collection of wallet balances.