5 #ifndef BITCOIN_QT_WALLETMODEL_H 6 #define BITCOIN_QT_WALLETMODEL_H 8 #if defined(HAVE_CONFIG_H) 151 void refresh(
bool pk_hash_only =
false);
210 void message(
const QString &title,
const QString &
message,
unsigned int style);
245 #endif // BITCOIN_QT_WALLETMODEL_H
Model for list of recently generated payment requests / bitcoin: URIs.
TransactionTableModel * transactionTableModel
OptionsModel * getOptionsModel() const
interfaces::Wallet & wallet() const
void coinsSent(WalletModel *wallet, SendCoinsRecipient recipient, QByteArray transaction)
RecentRequestsTableModel * recentRequestsTableModel
std::unique_ptr< interfaces::Handler > m_handler_address_book_changed
SendCoinsReturn prepareTransaction(WalletModelTransaction &transaction, const wallet::CCoinControl &coinControl)
static bool isWalletEnabled()
void canGetAddressesChanged()
QString reasonCommitFailed
UnlockContext requestUnlock()
std::unique_ptr< interfaces::Handler > m_handler_unload
void unsubscribeFromCoreSignals()
interfaces::WalletBalances getCachedBalance() const
TransactionTableModel * getTransactionTableModel() const
std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
uint256 m_cached_last_update_tip
bool validateAddress(const QString &address) const
void showProgress(const QString &title, int nProgress)
std::unique_ptr< interfaces::Handler > m_handler_status_changed
EncryptionStatus getEncryptionStatus() const
bool bumpFee(uint256 hash, uint256 &new_hash)
UnlockContext(WalletModel *wallet, bool valid, bool relock)
int64_t CAmount
Amount in satoshis (Can be negative)
AddressPurpose
Address purpose field that has been been stored with wallet sending and receiving addresses since BIP...
uint256 getLastBlockProcessed() const
RecentRequestsTableModel * getRecentRequestsTableModel() 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
bool setWalletEncrypted(const SecureString &passphrase)
SendCoinsReturn(StatusCode _status=OK, QString _reasonCommitFailed="")
void refresh(bool pk_hash_only=false)
void encryptionStatusChanged()
UnlockContext & operator=(const UnlockContext &)=delete
OptionsModel * optionsModel
QString getWalletName() const
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.
bool isMultiwallet() const
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
ClientModel * m_client_model
void updateWatchOnlyFlag(bool fHaveWatchonly)
bool fForceCheckBalanceChanged
std::unique_ptr< interfaces::Handler > m_handler_can_get_addrs_changed
void updateAddressBook(const QString &address, const QString &label, bool isMine, wallet::AddressPurpose purpose, int status)
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 notifyWatchonlyChanged(bool fHaveWatchonly)
Data model for a walletmodel transaction.
QString getDisplayName() const
AddressTableModel * getAddressTableModel() const
AddressTableModel * addressTableModel
CAmount getAvailableBalance(const wallet::CCoinControl *control)
void sendCoins(WalletModelTransaction &transaction)
std::unique_ptr< interfaces::Handler > m_handler_transaction_changed
void checkBalanceChanged(const interfaces::WalletBalances &new_balances)
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()
ClientModel & clientModel() const
void subscribeToCoreSignals()
bool displayAddress(std::string sAddress) const