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