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