5 #ifndef BITCOIN_QT_WALLETMODEL_H
6 #define BITCOIN_QT_WALLETMODEL_H
8 #if defined(HAVE_CONFIG_H)
139 bool saveReceiveRequest(
const std::string &sAddress,
const int64_t nId,
const std::string &sRequest);
157 void refresh(
bool pk_hash_only =
false);
209 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)
void loadReceiveRequests(std::vector< std::string > &vReceiveRequests)
Model for list of recently generated payment requests / bitcoin: URIs.
TransactionTableModel * transactionTableModel
QString getDisplayName() 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
interfaces::Wallet & wallet() const
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
QString getWalletName() const
AddressTableModel * getAddressTableModel()
bool bumpFee(uint256 hash, uint256 &new_hash)
UnlockContext(WalletModel *wallet, bool valid, bool relock)
AddressTableModel * getAddressTableModel() const
void setClientModel(ClientModel *client_model)
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
SendCoinsReturn prepareTransaction(WalletModelTransaction &transaction, const CCoinControl &coinControl)
SendCoinsReturn(StatusCode _status=OK, QString _reasonCommitFailed="")
void refresh(bool pk_hash_only=false)
void encryptionStatusChanged()
OptionsModel * optionsModel
TransactionTableModel * getTransactionTableModel()
EncryptionStatus cachedEncryptionStatus
An outpoint - a combination of a transaction hash and an index n into its vout.
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
EncryptionStatus getEncryptionStatus() const
UnlockContext & operator=(UnlockContext &&rhs)
uint256 getLastBlockProcessed() const
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
RecentRequestsTableModel * getRecentRequestsTableModel()
Interface from Qt to configuration data structure for Bitcoin client.
interfaces::Node & node() const
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)
bool setWalletEncrypted(bool encrypted, const SecureString &passphrase)
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.
ClientModel & clientModel() const
AddressTableModel * addressTableModel
std::unique_ptr< interfaces::Handler > m_handler_transaction_changed
void checkBalanceChanged(const interfaces::WalletBalances &new_balances)
bool saveReceiveRequest(const std::string &sAddress, const int64_t nId, const std::string &sRequest)
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()
void subscribeToCoreSignals()