![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Classes | |
| struct | CompareValueOnly |
Functions | |
| std::string | COutput::ToString () const |
| const CWalletTx * | CWallet::GetWalletTx (const uint256 &hash) const |
| std::vector< CWalletTx > | CWallet::getWalletTxs () |
| bool | CWallet::checkPassPhraseRule (const char *pass) |
| CPubKey | CWallet::GenerateNewKey () |
| bool | CWallet::AddKeyPubKey (const CKey &key, const CPubKey &pubkey) |
| Adds a key to the store, and saves it to disk. More... | |
| bool | CWallet::SetHDChain (const CHDChain &chain, bool memonly) |
| bool | CWallet::SetCryptedHDChain (const CHDChain &chain, bool memonly) |
| bool | CWallet::GetDecryptedHDChain (CHDChain &hdChainRet) |
| void | CWallet::GenerateNewHDChain (std::string *phrase=NULL) |
| bool | CWallet::IsHDEnabled () |
| bool | CWallet::GetSeedPhrase (std::string &phrase) |
| bool | CWallet::WriteStakingStatus (bool status) |
| bool | CWallet::ReadStakingStatus () |
| bool | CWallet::Write2FA (bool status) |
| bool | CWallet::Read2FA () |
| bool | CWallet::Write2FASecret (std::string secret) |
| std::string | CWallet::Read2FASecret () |
| bool | CWallet::Write2FAPeriod (int period) |
| int | CWallet::Read2FAPeriod () |
| bool | CWallet::Write2FALastTime (uint64_t lastTime) |
| uint64_t | CWallet::Read2FALastTime () |
| bool | CWallet::AddCryptedKey (const CPubKey &vchPubKey, const std::vector< unsigned char > &vchCryptedSecret) |
| Adds an encrypted key to the store, and saves it to disk. More... | |
| bool | CWallet::LoadKeyMetadata (const CPubKey &pubkey, const CKeyMetadata &metadata) |
| Load metadata (used by LoadWallet) More... | |
| bool | CWallet::LoadCryptedKey (const CPubKey &vchPubKey, const std::vector< unsigned char > &vchCryptedSecret) |
| Adds an encrypted key to the store, without saving it to disk (used by LoadWallet) More... | |
| bool | CWallet::AddCScript (const CScript &redeemScript) |
| Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki. More... | |
| bool | CWallet::LoadCScript (const CScript &redeemScript) |
| bool | CWallet::AddWatchOnly (const CScript &dest) |
| Adds a watch-only address to the store, and saves it to disk. More... | |
| bool | CWallet::RemoveWatchOnly (const CScript &dest) |
| bool | CWallet::LoadWatchOnly (const CScript &dest) |
| Adds a watch-only address to the store, without saving it to disk (used by LoadWallet) More... | |
| bool | CWallet::RescanAfterUnlock (int fromHeight) |
| bool | CWallet::Unlock (const SecureString &strWalletPassphrase, bool anonimizeOnly=false) |
| bool | CWallet::Lock () |
| Lock Wallet. More... | |
| bool | CWallet::Unlock (const CKeyingMaterial &vMasterKeyIn) |
| bool | CWallet::ChangeWalletPassphrase (const SecureString &strOldWalletPassphrase, const SecureString &strNewWalletPassphrase) |
| void | CWallet::SetBestChain (const CBlockLocator &loc) |
| bool | CWallet::SetMinVersion (enum WalletFeature, CWalletDB *pwalletdbIn=NULL, bool fExplicit=false) |
| signify that a particular wallet feature is now used. this may change nWalletVersion and nWalletMaxVersion if those are lower More... | |
| bool | CWallet::SetMaxVersion (int nVersion) |
| change which version we're allowed to upgrade to (note that this does not immediately imply upgrading to that format) More... | |
| std::set< uint256 > | CWallet::GetConflicts (const uint256 &txid) const |
| Get wallet transactions that conflict with given transaction (spend same outputs) More... | |
| void | CWallet::SyncMetaData (std::pair< TxSpends::iterator, TxSpends::iterator >) |
| static bool | CWallet::ParameterInteraction () |
| bool | CWallet::IsSpent (const uint256 &hash, unsigned int n) |
| Outpoint is spent if any non-conflicted transaction spends it: More... | |
| unsigned int | CWallet::GetSpendDepth (const uint256 &hash, unsigned int n) const |
| void | CWallet::AddToSpends (const COutPoint &outpoint, const uint256 &wtxid) |
| std::string | CWallet::GetTransactionType (const CTransaction &tx) |
| void | CWallet::AddToSpends (const uint256 &wtxid) |
| bool | CWallet::isMatchMyKeyImage (const CKeyImage &ki, const COutPoint &out) |
| bool | CWallet::GetVinAndKeysFromOutput (COutput out, CTxIn &txinRet, CPubKey &pubKeyRet, CKey &keyRet) |
| Extract txin information and keys from output. More... | |
| bool | CWallet::EncryptWallet (const SecureString &strWalletPassphrase) |
| int64_t | CWallet::IncOrderPosNext (CWalletDB *pwalletdb=NULL) |
| Increment the next transaction order id. More... | |
| void | CWallet::MarkDirty () |
| bool | CWallet::AddToWallet (const CWalletTx &wtxIn, bool fFromLoadWallet, CWalletDB *pwalletdb) |
| bool | CWallet::AddToWalletIfInvolvingMe (const CTransaction &tx, const CBlock *pblock, bool fUpdate) |
| Add a transaction to the wallet, or update it. More... | |
| void | CWallet::SyncTransaction (const CTransaction &tx, const CBlock *pblock) |
| bool | CWallet::EraseFromWallet (const uint256 &hash) |
| isminetype | CWallet::IsMine (const CTxIn &txin) const |
| COutPoint | CWallet::findMyOutPoint (const CTxIn &txin) const |
| CAmount | CWallet::GetDebit (const CTxIn &txin, const isminefilter &filter) const |
| bool | CWallet::IsChange (const CTxOut &txout) const |
| int64_t | CWalletTx::GetTxTime () const |
| int64_t | CWalletTx::GetComputedTxTime () const |
| int | CWalletTx::GetRequestCount () const |
| CAmount | CWalletTx::GetDebit (const isminefilter &filter) const |
| CAmount | CWalletTx::GetCredit (const isminefilter &filter) const |
| CAmount | CWalletTx::GetImmatureCredit (bool fUseCache=true) const |
| CAmount | CWalletTx::GetAvailableCredit (bool fUseCache=true) const |
| CAmount | CWalletTx::GetUnlockedCredit () const |
| filter decides which addresses will count towards the debit More... | |
| CAmount | CWalletTx::GetLockedCredit () const |
| CAmount | CWalletTx::GetImmatureWatchOnlyCredit (const bool &fUseCache=true) const |
| CAmount | CWalletTx::GetAvailableWatchOnlyCredit (const bool &fUseCache=true) const |
| void | CWalletTx::GetAmounts (std::list< COutputEntry > &listReceived, std::list< COutputEntry > &listSent, CAmount &nFee, std::string &strSentAccount, const isminefilter &filter) const |
| void | CWalletTx::GetAccountAmounts (const std::string &strAccount, CAmount &nReceived, CAmount &nSent, CAmount &nFee, const isminefilter &filter) const |
| bool | CWalletTx::WriteToDisk (CWalletDB *pwalletdb) |
| void | CWallet::RemoveFromSpends (const uint256 &wtxid) |
| void | CWallet::ReorderWalletTransactions (std::map< std::pair< int, int >, CWalletTx * > &mapSorted, int64_t &maxOrderPos) |
| Reorder the transactions based on block hieght and block index. More... | |
| void | CWallet::UpdateWalletTransactionOrder (std::map< std::pair< int, int >, CWalletTx * > &mapSorted, bool resetOrder) |
| Update the nOrderPos with passed in ordered map. More... | |
| bool | CWallet::DeleteTransactions (std::vector< uint256 > &removeTxs, bool fRescan=false) |
| Delete transactions from the Wallet. More... | |
| bool | CWallet::DeleteWalletTransactions (const CBlockIndex *pindex, bool fRescan=false) |
| int | CWallet::ScanForWalletTransactions (CBlockIndex *pindexStart, bool fUpdate=false, bool fromStartup=false, int height=-1) |
| Scan the block chain (starting in pindexStart) for transactions from or to us. More... | |
| void | CWallet::ReacceptWalletTransactions () |
| bool | CWalletTx::InMempool () const |
| void | CWalletTx::RelayWalletTransaction (std::string strCommand=NetMsgType::TX) |
| std::set< uint256 > | CWalletTx::GetConflicts () const |
| void | CWallet::ResendWalletTransactions () |
|
virtual |
Adds an encrypted key to the store, and saves it to disk.
Reimplemented from CCryptoKeyStore.
Definition at line 411 of file wallet.cpp.
|
virtual |
Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki.
Reimplemented from CBasicKeyStore.
Definition at line 445 of file wallet.cpp.
Adds a key to the store, and saves it to disk.
Reimplemented from CCryptoKeyStore.
Definition at line 240 of file wallet.cpp.
Definition at line 901 of file wallet.cpp.
|
private |
Definition at line 1171 of file wallet.cpp.
| bool CWallet::AddToWalletIfInvolvingMe | ( | const CTransaction & | tx, |
| const CBlock * | pblock, | ||
| bool | fUpdate | ||
| ) |
Add a transaction to the wallet, or update it.
pblock is optional, but should be provided if the transaction is known to be in a block. If fUpdate is true, existing transactions will be updated.
Definition at line 1272 of file wallet.cpp.
|
virtual |
Adds a watch-only address to the store, and saves it to disk.
Reimplemented from CBasicKeyStore.
Definition at line 469 of file wallet.cpp.
| bool CWallet::ChangeWalletPassphrase | ( | const SecureString & | strOldWalletPassphrase, |
| const SecureString & | strNewWalletPassphrase | ||
| ) |
Definition at line 656 of file wallet.cpp.
| bool CWallet::checkPassPhraseRule | ( | const char * | pass | ) |
Definition at line 187 of file wallet.cpp.
| bool CWallet::DeleteTransactions | ( | std::vector< uint256 > & | removeTxs, |
| bool | fRescan = false |
||
| ) |
Delete transactions from the Wallet.
Definition at line 1877 of file wallet.cpp.
| bool CWallet::DeleteWalletTransactions | ( | const CBlockIndex * | pindex, |
| bool | fRescan = false |
||
| ) |
Definition at line 1909 of file wallet.cpp.
| bool CWallet::EncryptWallet | ( | const SecureString & | strWalletPassphrase | ) |
Definition at line 1049 of file wallet.cpp.
|
virtual |
Reimplemented from CValidationInterface.
Definition at line 1320 of file wallet.cpp.
Definition at line 1348 of file wallet.cpp.
| void CWallet::GenerateNewHDChain | ( | std::string * | phrase = NULL | ) |
Definition at line 317 of file wallet.cpp.
| CPubKey CWallet::GenerateNewKey | ( | ) |
Definition at line 215 of file wallet.cpp.
| void CWalletTx::GetAccountAmounts | ( | const std::string & | strAccount, |
| CAmount & | nReceived, | ||
| CAmount & | nSent, | ||
| CAmount & | nFee, | ||
| const isminefilter & | filter | ||
| ) | const |
Definition at line 1731 of file wallet.cpp.
| void CWalletTx::GetAmounts | ( | std::list< COutputEntry > & | listReceived, |
| std::list< COutputEntry > & | listSent, | ||
| CAmount & | nFee, | ||
| std::string & | strSentAccount, | ||
| const isminefilter & | filter | ||
| ) | const |
Definition at line 1681 of file wallet.cpp.
| CAmount CWalletTx::GetAvailableCredit | ( | bool | fUseCache = true | ) | const |
Definition at line 1547 of file wallet.cpp.
| CAmount CWalletTx::GetAvailableWatchOnlyCredit | ( | const bool & | fUseCache = true | ) | const |
Definition at line 1656 of file wallet.cpp.
| int64_t CWalletTx::GetComputedTxTime | ( | ) | const |
Definition at line 1439 of file wallet.cpp.
| std::set< uint256 > CWalletTx::GetConflicts | ( | ) | const |
Get wallet transactions that conflict with given transaction (spend same outputs)
Definition at line 754 of file wallet.cpp.
| CAmount CWalletTx::GetCredit | ( | const isminefilter & | filter | ) | const |
Definition at line 1505 of file wallet.cpp.
| CAmount CWallet::GetDebit | ( | const CTxIn & | txin, |
| const isminefilter & | filter | ||
| ) | const |
Definition at line 1402 of file wallet.cpp.
| CAmount CWalletTx::GetDebit | ( | const isminefilter & | filter | ) | const |
Definition at line 1478 of file wallet.cpp.
| bool CWallet::GetDecryptedHDChain | ( | CHDChain & | hdChainRet | ) |
Definition at line 295 of file wallet.cpp.
| CAmount CWalletTx::GetImmatureCredit | ( | bool | fUseCache = true | ) | const |
Definition at line 1534 of file wallet.cpp.
| CAmount CWalletTx::GetImmatureWatchOnlyCredit | ( | const bool & | fUseCache = true | ) | const |
Definition at line 1642 of file wallet.cpp.
| CAmount CWalletTx::GetLockedCredit | ( | ) | const |
Definition at line 1610 of file wallet.cpp.
| int CWalletTx::GetRequestCount | ( | ) | const |
Definition at line 1445 of file wallet.cpp.
| bool CWallet::GetSeedPhrase | ( | std::string & | phrase | ) |
Definition at line 351 of file wallet.cpp.
| unsigned int CWallet::GetSpendDepth | ( | const uint256 & | hash, |
| unsigned int | n | ||
| ) | const |
| std::string CWallet::GetTransactionType | ( | const CTransaction & | tx | ) |
| int64_t CWalletTx::GetTxTime | ( | ) | const |
| CAmount CWalletTx::GetUnlockedCredit | ( | ) | const |
filter decides which addresses will count towards the debit
Definition at line 1586 of file wallet.cpp.
| bool CWallet::GetVinAndKeysFromOutput | ( | COutput | out, |
| CTxIn & | txinRet, | ||
| CPubKey & | pubKeyRet, | ||
| CKey & | keyRet | ||
| ) |
Extract txin information and keys from output.
Definition at line 970 of file wallet.cpp.
| std::vector< CWalletTx > CWallet::getWalletTxs | ( | ) |
| int64_t CWallet::IncOrderPosNext | ( | CWalletDB * | pwalletdb = NULL | ) |
Increment the next transaction order id.
Definition at line 1150 of file wallet.cpp.
| bool CWalletTx::InMempool | ( | ) | const |
Definition at line 2160 of file wallet.cpp.
| bool CWallet::IsChange | ( | const CTxOut & | txout | ) | const |
Definition at line 1419 of file wallet.cpp.
| bool CWallet::IsHDEnabled | ( | ) |
Definition at line 961 of file wallet.cpp.
| isminetype CWallet::IsMine | ( | const CTxIn & | txin | ) | const |
Definition at line 1333 of file wallet.cpp.
| bool CWallet::IsSpent | ( | const uint256 & | hash, |
| unsigned int | n | ||
| ) |
Outpoint is spent if any non-conflicted transaction spends it:
Definition at line 860 of file wallet.cpp.
| bool CWallet::LoadCryptedKey | ( | const CPubKey & | vchPubKey, |
| const std::vector< unsigned char > & | vchCryptedSecret | ||
| ) |
Adds an encrypted key to the store, without saving it to disk (used by LoadWallet)
Definition at line 440 of file wallet.cpp.
| bool CWallet::LoadCScript | ( | const CScript & | redeemScript | ) |
| bool CWallet::LoadKeyMetadata | ( | const CPubKey & | pubkey, |
| const CKeyMetadata & | metadata | ||
| ) |
Load metadata (used by LoadWallet)
Definition at line 430 of file wallet.cpp.
| bool CWallet::LoadWatchOnly | ( | const CScript & | dest | ) |
Adds a watch-only address to the store, without saving it to disk (used by LoadWallet)
Definition at line 494 of file wallet.cpp.
| bool CWallet::Lock | ( | ) |
Lock Wallet.
Definition at line 582 of file wallet.cpp.
| void CWallet::MarkDirty | ( | ) |
|
static |
| void CWallet::ReacceptWalletTransactions | ( | ) |
| bool CWallet::Read2FA | ( | ) |
Definition at line 379 of file wallet.cpp.
| uint64_t CWallet::Read2FALastTime | ( | ) |
| int CWallet::Read2FAPeriod | ( | ) |
Definition at line 397 of file wallet.cpp.
| std::string CWallet::Read2FASecret | ( | ) |
Definition at line 388 of file wallet.cpp.
| bool CWallet::ReadStakingStatus | ( | ) |
Definition at line 370 of file wallet.cpp.
| void CWalletTx::RelayWalletTransaction | ( | std::string | strCommand = NetMsgType::TX | ) |
Definition at line 2169 of file wallet.cpp.
|
private |
|
virtual |
Reimplemented from CBasicKeyStore.
Definition at line 480 of file wallet.cpp.
| void CWallet::ReorderWalletTransactions | ( | std::map< std::pair< int, int >, CWalletTx * > & | mapSorted, |
| int64_t & | maxOrderPos | ||
| ) |
Reorder the transactions based on block hieght and block index.
Transactions can get out of order when they are deleted and subsequently re-added during intial load rescan.
Definition at line 1792 of file wallet.cpp.
| bool CWallet::RescanAfterUnlock | ( | int | fromHeight | ) |
Definition at line 499 of file wallet.cpp.
|
virtual |
Reimplemented from CValidationInterface.
Definition at line 2199 of file wallet.cpp.
| int CWallet::ScanForWalletTransactions | ( | CBlockIndex * | pindexStart, |
| bool | fUpdate = false, |
||
| bool | fromStartup = false, |
||
| int | height = -1 |
||
| ) |
Scan the block chain (starting in pindexStart) for transactions from or to us.
If fUpdate is true, found transactions that already exist in the wallet will be updated.
Definition at line 2062 of file wallet.cpp.
|
virtual |
Reimplemented from CValidationInterface.
Definition at line 710 of file wallet.cpp.
| bool CWallet::SetCryptedHDChain | ( | const CHDChain & | chain, |
| bool | memonly | ||
| ) |
Definition at line 273 of file wallet.cpp.
| bool CWallet::SetHDChain | ( | const CHDChain & | chain, |
| bool | memonly | ||
| ) |
Definition at line 260 of file wallet.cpp.
| bool CWallet::SetMaxVersion | ( | int | nVersion | ) |
change which version we're allowed to upgrade to (note that this does not immediately imply upgrading to that format)
Definition at line 742 of file wallet.cpp.
| bool CWallet::SetMinVersion | ( | enum WalletFeature | nVersion, |
| CWalletDB * | pwalletdbIn = NULL, |
||
| bool | fExplicit = false |
||
| ) |
signify that a particular wallet feature is now used. this may change nWalletVersion and nWalletMaxVersion if those are lower
Definition at line 716 of file wallet.cpp.
|
private |
|
virtual |
Reimplemented from CValidationInterface.
Definition at line 1303 of file wallet.cpp.
| std::string COutput::ToString | ( | ) | const |
| bool CWallet::Unlock | ( | const CKeyingMaterial & | vMasterKeyIn | ) |
| bool CWallet::Unlock | ( | const SecureString & | strWalletPassphrase, |
| bool | anonimizeOnly = false |
||
| ) |
Definition at line 552 of file wallet.cpp.
| void CWallet::UpdateWalletTransactionOrder | ( | std::map< std::pair< int, int >, CWalletTx * > & | mapSorted, |
| bool | resetOrder | ||
| ) |
Update the nOrderPos with passed in ordered map.
Definition at line 1825 of file wallet.cpp.
| bool CWallet::Write2FA | ( | bool | status | ) |
Definition at line 375 of file wallet.cpp.
| bool CWallet::Write2FALastTime | ( | uint64_t | lastTime | ) |
Definition at line 402 of file wallet.cpp.
| bool CWallet::Write2FAPeriod | ( | int | period | ) |
Definition at line 393 of file wallet.cpp.
| bool CWallet::Write2FASecret | ( | std::string | secret | ) |
Definition at line 384 of file wallet.cpp.
| bool CWallet::WriteStakingStatus | ( | bool | status | ) |
Definition at line 366 of file wallet.cpp.
| bool CWalletTx::WriteToDisk | ( | CWalletDB * | pwalletdb | ) |
Definition at line 1761 of file wallet.cpp.
1.8.17