Interface to Anoncoin wallet from Qt view code.
More...
#include <walletmodel.h>
|
void | balanceChanged (qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance, qint64 watchOnlyBalance, qint64 watchUnconfBalance, qint64 watchImmatureBalance) |
|
void | encryptionStatusChanged (int status) |
|
void | requireUnlock () |
|
void | message (const QString &title, const QString &message, unsigned int style) |
|
void | coinsSent (CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction) |
|
void | showProgress (const QString &title, int nProgress) |
|
void | notifyWatchonlyChanged (bool fHaveWatchonly) |
|
|
| WalletModel (CWallet *wallet, OptionsModel *optionsModel, QObject *parent=0) |
|
| ~WalletModel () |
|
OptionsModel * | getOptionsModel () |
|
AddressTableModel * | getAddressTableModel () |
|
TransactionTableModel * | getTransactionTableModel () |
|
RecentRequestsTableModel * | getRecentRequestsTableModel () |
|
qint64 | getBalance (const CCoinControl *coinControl=NULL) const |
|
qint64 | getUnconfirmedBalance () const |
|
qint64 | getImmatureBalance () const |
|
bool | haveWatchOnly () const |
|
qint64 | getWatchBalance () const |
|
qint64 | getWatchUnconfirmedBalance () const |
|
qint64 | getWatchImmatureBalance () const |
|
EncryptionStatus | getEncryptionStatus () const |
|
bool | processingQueuedTransactions () |
|
bool | validateAddress (const QString &address) |
|
SendCoinsReturn | prepareTransaction (WalletModelTransaction &transaction, const CCoinControl *coinControl=NULL) |
|
SendCoinsReturn | sendCoins (WalletModelTransaction &transaction) |
|
bool | setWalletEncrypted (bool encrypted, const SecureString &passphrase) |
|
bool | setWalletLocked (bool locked, const SecureString &passPhrase=SecureString()) |
|
bool | changePassphrase (const SecureString &oldPass, const SecureString &newPass) |
|
bool | backupWallet (const QString &filename) |
|
UnlockContext | requestUnlock () |
|
bool | getPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const |
|
void | getOutputs (const std::vector< COutPoint > &vOutpoints, std::vector< COutput > &vOutputs) |
|
bool | isSpent (const COutPoint &outpoint) const |
|
void | listCoins (std::map< QString, std::vector< COutput > > &mapCoins) const |
|
bool | isLockedCoin (uint256 hash, unsigned int n) const |
|
void | lockCoin (COutPoint &output) |
|
void | unlockCoin (COutPoint &output) |
|
void | listLockedCoins (std::vector< COutPoint > &vOutpts) |
|
void | loadReceiveRequests (std::vector< std::string > &vReceiveRequests) |
|
bool | saveReceiveRequest (const std::string &sAddress, const int64_t nId, const std::string &sRequest) |
|
Interface to Anoncoin wallet from Qt view code.
Definition at line 97 of file walletmodel.h.
Enumerator |
---|
Unencrypted |
|
Locked |
|
Unlocked |
|
Definition at line 117 of file walletmodel.h.
Enumerator |
---|
OK |
|
InvalidAmount |
|
InvalidAddress |
|
AmountExceedsBalance |
|
AmountWithFeeExceedsBalance |
|
DuplicateAddress |
|
TransactionCreationFailed |
|
TransactionCommitFailed |
|
Definition at line 105 of file walletmodel.h.
WalletModel::WalletModel |
( |
CWallet * |
wallet, |
|
|
OptionsModel * |
optionsModel, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
WalletModel::~WalletModel |
( |
| ) |
|
bool WalletModel::backupWallet |
( |
const QString & |
filename | ) |
|
void WalletModel::balanceChanged |
( |
qint64 |
balance, |
|
|
qint64 |
unconfirmedBalance, |
|
|
qint64 |
immatureBalance, |
|
|
qint64 |
watchOnlyBalance, |
|
|
qint64 |
watchUnconfBalance, |
|
|
qint64 |
watchImmatureBalance |
|
) |
| |
|
signal |
void WalletModel::checkBalanceChanged |
( |
| ) |
|
|
private |
void WalletModel::encryptionStatusChanged |
( |
int |
status | ) |
|
|
signal |
qint64 WalletModel::getBalance |
( |
const CCoinControl * |
coinControl = NULL | ) |
const |
qint64 WalletModel::getImmatureBalance |
( |
| ) |
const |
void WalletModel::getOutputs |
( |
const std::vector< COutPoint > & |
vOutpoints, |
|
|
std::vector< COutput > & |
vOutputs |
|
) |
| |
bool WalletModel::getPubKey |
( |
const CKeyID & |
address, |
|
|
CPubKey & |
vchPubKeyOut |
|
) |
| const |
qint64 WalletModel::getUnconfirmedBalance |
( |
| ) |
const |
qint64 WalletModel::getWatchBalance |
( |
| ) |
const |
qint64 WalletModel::getWatchImmatureBalance |
( |
| ) |
const |
qint64 WalletModel::getWatchUnconfirmedBalance |
( |
| ) |
const |
bool WalletModel::haveWatchOnly |
( |
| ) |
const |
bool WalletModel::isLockedCoin |
( |
uint256 |
hash, |
|
|
unsigned int |
n |
|
) |
| const |
bool WalletModel::isSpent |
( |
const COutPoint & |
outpoint | ) |
const |
void WalletModel::listCoins |
( |
std::map< QString, std::vector< COutput > > & |
mapCoins | ) |
const |
void WalletModel::listLockedCoins |
( |
std::vector< COutPoint > & |
vOutpts | ) |
|
void WalletModel::loadReceiveRequests |
( |
std::vector< std::string > & |
vReceiveRequests | ) |
|
void WalletModel::lockCoin |
( |
COutPoint & |
output | ) |
|
void WalletModel::message |
( |
const QString & |
title, |
|
|
const QString & |
message, |
|
|
unsigned int |
style |
|
) |
| |
|
signal |
void WalletModel::notifyWatchonlyChanged |
( |
bool |
fHaveWatchonly | ) |
|
|
signal |
void WalletModel::pollBalanceChanged |
( |
| ) |
|
|
slot |
bool WalletModel::processingQueuedTransactions |
( |
| ) |
|
|
inline |
void WalletModel::requireUnlock |
( |
| ) |
|
|
signal |
bool WalletModel::saveReceiveRequest |
( |
const std::string & |
sAddress, |
|
|
const int64_t |
nId, |
|
|
const std::string & |
sRequest |
|
) |
| |
void WalletModel::setProcessingQueuedTransactions |
( |
bool |
value | ) |
|
|
inlineslot |
bool WalletModel::setWalletEncrypted |
( |
bool |
encrypted, |
|
|
const SecureString & |
passphrase |
|
) |
| |
void WalletModel::showProgress |
( |
const QString & |
title, |
|
|
int |
nProgress |
|
) |
| |
|
signal |
void WalletModel::subscribeToCoreSignals |
( |
| ) |
|
|
private |
void WalletModel::unlockCoin |
( |
COutPoint & |
output | ) |
|
void WalletModel::unsubscribeFromCoreSignals |
( |
| ) |
|
|
private |
void WalletModel::updateAddressBook |
( |
const QString & |
address, |
|
|
const QString & |
label, |
|
|
bool |
isMine, |
|
|
const QString & |
purpose, |
|
|
int |
status |
|
) |
| |
|
slot |
void WalletModel::updateStatus |
( |
| ) |
|
|
slot |
void WalletModel::updateTransaction |
( |
const QString & |
hash, |
|
|
int |
status |
|
) |
| |
|
slot |
void WalletModel::updateWatchOnlyFlag |
( |
bool |
fHaveWatchonly | ) |
|
|
slot |
bool WalletModel::validateAddress |
( |
const QString & |
address | ) |
|
qint64 WalletModel::cachedBalance |
|
private |
qint64 WalletModel::cachedImmatureBalance |
|
private |
int WalletModel::cachedNumBlocks |
|
private |
qint64 WalletModel::cachedUnconfirmedBalance |
|
private |
qint64 WalletModel::cachedWatchImmatureBalance |
|
private |
qint64 WalletModel::cachedWatchOnlyBalance |
|
private |
qint64 WalletModel::cachedWatchUnconfBalance |
|
private |
bool WalletModel::fForceCheckBalanceChanged |
|
private |
bool WalletModel::fHaveWatchOnly |
|
private |
bool WalletModel::fProcessingQueuedTransactions |
|
private |
QTimer* WalletModel::pollTimer |
|
private |
The documentation for this class was generated from the following files: