8 #pragma warning(disable:4717) //bogus warning from MS
82 QString
hex=QString()):
124 void getOutputs(
const std::vector<COutPoint>& vOutpoints, std::vector<COutput>& vOutputs);
125 void listCoins(std::map<QString, std::vector<COutput> >& mapCoins)
const;
158 void balanceChanged(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance);
172 void message(
const QString &title,
const QString &
message,
unsigned int style);
180 void updateAddressBook(
const QString &address,
const QString &label,
bool isMine,
int status);
185 #endif // WALLETMODEL_H
TransactionTableModel * transactionTableModel
void getOutputs(const std::vector< COutPoint > &vOutpoints, std::vector< COutput > &vOutputs)
void lockCoin(COutPoint &output)
UnlockContext & operator=(const UnlockContext &rhs)
SendCoinsReturn sendCoins(const QList< SendCoinsRecipient > &recipients, const CCoinControl *coinControl=NULL)
qint64 getImmatureBalance() const
qint64 cachedImmatureBalance
qint64 cachedNumTransactions
qint64 cachedUnconfirmedBalance
UnlockContext requestUnlock()
void unsubscribeFromCoreSignals()
bool isLockedCoin(uint256 hash, unsigned int n) const
bool backupWallet(const QString &filename)
SendCoinsReturn(StatusCode status=Aborted, qint64 fee=0, QString hex=QString())
AddressTableModel * getAddressTableModel()
UnlockContext(WalletModel *wallet, bool valid, bool relock)
void balanceChanged(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance)
WalletModel(CWallet *wallet, OptionsModel *optionsModel, QObject *parent=0)
void checkBalanceChanged()
void numTransactionsChanged(int count)
bool changePassphrase(const SecureString &oldPass, const SecureString &newPass)
std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
qint64 getUnconfirmedBalance() const
An encapsulated public key.
bool getPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) const
void updateAddressBook(const QString &address, const QString &label, bool isMine, int status)
OptionsModel * optionsModel
TransactionTableModel * getTransactionTableModel()
EncryptionStatus cachedEncryptionStatus
An outpoint - a combination of a transaction hash and an index n into its vout.
void CopyFrom(const UnlockContext &rhs)
UI model for the transaction table of a wallet.
Qt model of the address book in the core.
bool setWalletLocked(bool locked, const SecureString &passPhrase=SecureString())
UnlockContext(const UnlockContext &obj)
void encryptionStatusChanged(int status)
EncryptionStatus getEncryptionStatus() const
bool validateAddress(const QString &address)
bool importPrivateKey(QString privKey)
void listLockedCoins(std::vector< COutPoint > &vOutpts)
Interface from Qt to configuration data structure for Bitcoin client.
Interface to Bitcoin wallet from Qt view code.
bool setWalletEncrypted(bool encrypted, const SecureString &passphrase)
void unlockCoin(COutPoint &output)
void message(const QString &title, const QString &message, unsigned int style)
A reference to a CKey: the Hash160 of its serialized public key.
qint64 getBalance(const CCoinControl *coinControl=NULL) const
void updateTransaction(const QString &hash, int status)
int getNumTransactions() const
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
AddressTableModel * addressTableModel
void listCoins(std::map< QString, std::vector< COutput > > &mapCoins) const
void pollBalanceChanged()
OptionsModel * getOptionsModel()
void subscribeToCoreSignals()