![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Functions | |
| bool | CheckTXAvailability (const CWalletTx *pcoin, bool fOnlyConfirmed, bool fUseIX, int &nDepth) |
| Test if the transaction is spendable. More... | |
| void | GetAccountAddress (CWallet *pwalletMain, std::string strAccount, int nAccountIndex, bool bForceNew=false) |
| CAmount | CWallet::GetBalance () |
| CAmount | CWallet::GetSpendableBalance () |
| CAmount | CWallet::GetUnlockedCoins () const |
| CAmount | CWallet::GetLockedCoins () const |
| CAmount | CWallet::GetUnconfirmedBalance () const |
| CAmount | CWallet::GetImmatureBalance () const |
| CAmount | CWallet::GetWatchOnlyBalance () const |
| CAmount | CWallet::GetUnconfirmedWatchOnlyBalance () const |
| CAmount | CWallet::GetImmatureWatchOnlyBalance () const |
| bool | CWallet::GetMasternodeVinAndKeys (CTxIn &txinRet, CPubKey &pubKeyRet, CKey &keyRet, std::string strTxHash, std::string strOutputIndex, std::string &strError) |
| Get 5000 PRCY output and keys which can be used for the Masternode. More... | |
| bool | CWallet::AvailableCoins (std::vector< COutput > &vCoins, bool fOnlyConfirmed=true, const CCoinControl *coinControl=NULL, bool fIncludeZeroValue=false, AvailableCoinsType nCoinType=ALL_COINS, bool fUseIX=false) |
| populate vCoins with vector of available COutputs. More... | |
| std::map< CBitcoinAddress, std::vector< COutput > > | CWallet::AvailableCoinsByAddress (bool fConfirmed=true, CAmount maxCoinValue=0) |
| bool | CWallet::SelectStakeCoins (std::list< std::unique_ptr< CStakeInput > > &listInputs, CAmount nTargetAmount) |
| bool | CWallet::MintableCoins () |
| StakingStatusError | CWallet::StakingCoinStatus (CAmount &minFee, CAmount &maxFee) |
| bool | CWallet::SelectCoinsMinConf (bool needFee, CAmount &estimatedFee, int ringSize, int numOut, const CAmount &nTargetValue, int nConfMine, int nConfTheirs, std::vector< COutput > vCoins, std::set< std::pair< const CWalletTx *, unsigned int > > &setCoinsRet, CAmount &nValueRet) |
| void | CWallet::resetPendingOutPoints () |
| bool | CWallet::SelectCoins (bool needFee, CAmount &estimatedFee, int ringSize, int numOut, const CAmount &nTargetValue, std::set< std::pair< const CWalletTx *, unsigned int > > &setCoinsRet, CAmount &nValueRet, const CCoinControl *coinControl=NULL, AvailableCoinsType coin_type=ALL_COINS, bool useIX=true) |
| bool | CWallet::IsCollateralized (const COutPoint &outpoint) |
| bool | CWallet::IsMasternodeController () |
| bool | CWallet::GetBudgetSystemCollateralTX (CTransaction &tx, uint256 hash, bool useIX) |
| bool | CWallet::GetBudgetSystemCollateralTX (CWalletTx &tx, uint256 hash, bool useIX) |
| static bool | CWallet::CreateCommitment (const CAmount val, CKey &blind, std::vector< unsigned char > &commitment) |
| static bool | CWallet::CreateCommitmentWithZeroBlind (const CAmount val, unsigned char *pBlind, std::vector< unsigned char > &commitment) |
| static bool | CWallet::CreateCommitment (const unsigned char *blind, CAmount val, std::vector< unsigned char > &commitment) |
| static int | CWallet::ComputeTxSize (size_t numIn, size_t numOut, size_t ringSize) |
| CAmount | CWallet::ComputeReserveUTXOAmount () |
| int | CWallet::ComputeFee (size_t numIn, size_t numOut, size_t ringSize) |
| bool | CWallet::CreateTransactionBulletProof (const CKey &txPrivDes, const CPubKey &recipientViewKey, CScript scriptPubKey, const CAmount &nValue, CWalletTx &wtxNew, CReserveKey &reservekey, CAmount &nFeeRet, std::string &strFailReason, const CCoinControl *coinControl=NULL, AvailableCoinsType coin_type=ALL_COINS, bool useIX=false, CAmount nFeePay=0, int ringSize=6, bool tomyself=false) |
| bool | CWallet::WriteAutoConsolidateSettingTime (uint32_t settingTime) |
| uint32_t | CWallet::ReadAutoConsolidateSettingTime () |
| bool | CWallet::IsAutoConsolidateOn () |
| bool | CWallet::CreateTransactionBulletProof (const CKey &txPrivDes, const CPubKey &recipientViewKey, const std::vector< std::pair< CScript, CAmount > > &vecSend, CWalletTx &wtxNew, CReserveKey &reservekey, CAmount &nFeeRet, std::string &strFailReason, const CCoinControl *coinControl=NULL, AvailableCoinsType coin_type=ALL_COINS, bool useIX=false, CAmount nFeePay=0, int ringSize=6, bool tomyself=false) |
| bool | CWallet::CreateTransaction (const std::vector< std::pair< CScript, CAmount > > &vecSend, CWalletTx &wtxNew, CReserveKey &reservekey, CAmount &nFeeRet, std::string &strFailReason, const CCoinControl *coinControl=NULL, AvailableCoinsType coin_type=ALL_COINS, bool useIX=false, CAmount nFeePay=0) |
| bool | CWallet::generateBulletProofAggregate (CTransaction &tx) |
| bool | CWallet::makeRingCT (CTransaction &wtxNew, int ringSize, std::string &strFailReason) |
| bool | CWallet::MakeShnorrSignature (CTransaction &) |
| bool | CWallet::MakeShnorrSignatureTxIn (CTxIn &txin, uint256) |
| bool | CWallet::selectDecoysAndRealIndex (CTransaction &tx, int &myIndex, int ringSize) |
| bool | CWallet::CreateTransaction (CScript scriptPubKey, const CAmount &nValue, CWalletTx &wtxNew, CReserveKey &reservekey, CAmount &nFeeRet, std::string &strFailReason, const CCoinControl *coinControl=NULL, AvailableCoinsType coin_type=ALL_COINS, bool useIX=false, CAmount nFeePay=0) |
| bool | CWallet::computeSharedSec (const CTransaction &tx, const CTxOut &out, CPubKey &sharedSec) const |
| void | CWallet::AddComputedPrivateKey (const CTxOut &out) |
| bool | CWallet::CreateCoinStake (const CKeyStore &keystore, unsigned int nBits, int64_t nSearchInterval, CMutableTransaction &txNew, unsigned int &nTxNewTime) |
| bool | CWallet::CommitTransaction (CWalletTx &wtxNew, CReserveKey &reservekey, std::string strCommand=NetMsgType::TX) |
| Call after CreateTransaction unless you want to abort. More... | |
| bool | CWallet::AddAccountingEntry (const CAccountingEntry &, CWalletDB &pwalletdb) |
| static CAmount | CWallet::GetMinimumFee (unsigned int nTxBytes, unsigned int nConfirmTarget, const CTxMemPool &pool) |
| void | CWallet::ScanWalletKeyImages () |
| DBErrors | CWallet::LoadWallet (bool &fFirstRunRet) |
| DBErrors | CWallet::ZapWalletTx (std::vector< CWalletTx > &vWtx) |
| bool | CWallet::SetAddressBook (const CTxDestination &address, const std::string &strName, const std::string &purpose) |
| bool | CWallet::DelAddressBook (const CTxDestination &address) |
| bool | CWallet::SetDefaultKey (const CPubKey &vchPubKey) |
| bool | CWallet::NewKeyPool () |
| Mark old keypool keys as used, and generate all new keys. More... | |
| bool | CWallet::TopUpKeyPool (unsigned int kpSize=0) |
| void | CWallet::ReserveKeyFromKeyPool (int64_t &nIndex, CKeyPool &keypool) |
| void | CWallet::CreatePrivacyAccount (bool force=false) |
| void | CWallet::KeepKey (int64_t nIndex) |
| void | CWallet::ReturnKey (int64_t nIndex) |
| bool | CWallet::GetKeyFromPool (CPubKey &key) |
| int64_t | CWallet::GetOldestKeyPoolTime () |
| std::map< CTxDestination, CAmount > | CWallet::GetAddressBalances () |
| std::set< std::set< CTxDestination > > | CWallet::GetAddressGroupings () |
| std::set< CTxDestination > | CWallet::GetAccountAddresses (std::string strAccount) const |
| bool | CReserveKey::GetReservedKey (CPubKey &pubkey) |
| void | CReserveKey::KeepKey () |
| void | CReserveKey::ReturnKey () |
| void | CWallet::GetAllReserveKeys (std::set< CKeyID > &setAddress) const |
| bool | CWallet::UpdatedTransaction (const uint256 &hashTx) |
| void | CWallet::LockCoin (COutPoint &output) |
| void | CWallet::UnlockCoin (COutPoint &output) |
| void | CWallet::UnlockAllCoins () |
| bool | CWallet::IsLockedCoin (uint256 hash, unsigned int n) const |
| void | CWallet::ListLockedCoins (std::vector< COutPoint > &vOutpts) |
| bool CWallet::AddAccountingEntry | ( | const CAccountingEntry & | acentry, |
| CWalletDB & | pwalletdb | ||
| ) |
Definition at line 4510 of file wallet.cpp.
| void CWallet::AddComputedPrivateKey | ( | const CTxOut & | out | ) |
| bool CWallet::AvailableCoins | ( | std::vector< COutput > & | vCoins, |
| bool | fOnlyConfirmed = true, |
||
| const CCoinControl * | coinControl = NULL, |
||
| bool | fIncludeZeroValue = false, |
||
| AvailableCoinsType | nCoinType = ALL_COINS, |
||
| bool | fUseIX = false |
||
| ) |
populate vCoins with vector of available COutputs.
Definition at line 2490 of file wallet.cpp.
| std::map< CBitcoinAddress, std::vector< COutput > > CWallet::AvailableCoinsByAddress | ( | bool | fConfirmed = true, |
| CAmount | maxCoinValue = 0 |
||
| ) |
| bool CheckTXAvailability | ( | const CWalletTx * | pcoin, |
| bool | fOnlyConfirmed, | ||
| bool | fUseIX, | ||
| int & | nDepth | ||
| ) |
Test if the transaction is spendable.
Definition at line 2391 of file wallet.cpp.
| bool CWallet::CommitTransaction | ( | CWalletTx & | wtxNew, |
| CReserveKey & | reservekey, | ||
| std::string | strCommand = NetMsgType::TX |
||
| ) |
Call after CreateTransaction unless you want to abort.
Definition at line 4458 of file wallet.cpp.
| int CWallet::ComputeFee | ( | size_t | numIn, |
| size_t | numOut, | ||
| size_t | ringSize | ||
| ) |
Definition at line 3139 of file wallet.cpp.
| CAmount CWallet::ComputeReserveUTXOAmount | ( | ) |
| bool CWallet::computeSharedSec | ( | const CTransaction & | tx, |
| const CTxOut & | out, | ||
| CPubKey & | sharedSec | ||
| ) | const |
Definition at line 4252 of file wallet.cpp.
|
static |
| bool CWallet::CreateCoinStake | ( | const CKeyStore & | keystore, |
| unsigned int | nBits, | ||
| int64_t | nSearchInterval, | ||
| CMutableTransaction & | txNew, | ||
| unsigned int & | nTxNewTime | ||
| ) |
Definition at line 4302 of file wallet.cpp.
|
static |
Definition at line 3096 of file wallet.cpp.
|
static |
|
static |
Definition at line 3102 of file wallet.cpp.
| void CWallet::CreatePrivacyAccount | ( | bool | force = false | ) |
Definition at line 4766 of file wallet.cpp.
| bool CWallet::CreateTransaction | ( | const std::vector< std::pair< CScript, CAmount > > & | vecSend, |
| CWalletTx & | wtxNew, | ||
| CReserveKey & | reservekey, | ||
| CAmount & | nFeeRet, | ||
| std::string & | strFailReason, | ||
| const CCoinControl * | coinControl = NULL, |
||
| AvailableCoinsType | coin_type = ALL_COINS, |
||
| bool | useIX = false, |
||
| CAmount | nFeePay = 0 |
||
| ) |
Definition at line 3367 of file wallet.cpp.
| bool CWallet::CreateTransaction | ( | CScript | scriptPubKey, |
| const CAmount & | nValue, | ||
| CWalletTx & | wtxNew, | ||
| CReserveKey & | reservekey, | ||
| CAmount & | nFeeRet, | ||
| std::string & | strFailReason, | ||
| const CCoinControl * | coinControl = NULL, |
||
| AvailableCoinsType | coin_type = ALL_COINS, |
||
| bool | useIX = false, |
||
| CAmount | nFeePay = 0 |
||
| ) |
| bool CWallet::CreateTransactionBulletProof | ( | const CKey & | txPrivDes, |
| const CPubKey & | recipientViewKey, | ||
| const std::vector< std::pair< CScript, CAmount > > & | vecSend, | ||
| CWalletTx & | wtxNew, | ||
| CReserveKey & | reservekey, | ||
| CAmount & | nFeeRet, | ||
| std::string & | strFailReason, | ||
| const CCoinControl * | coinControl = NULL, |
||
| AvailableCoinsType | coin_type = ALL_COINS, |
||
| bool | useIX = false, |
||
| CAmount | nFeePay = 0, |
||
| int | ringSize = 6, |
||
| bool | tomyself = false |
||
| ) |
| bool CWallet::CreateTransactionBulletProof | ( | const CKey & | txPrivDes, |
| const CPubKey & | recipientViewKey, | ||
| CScript | scriptPubKey, | ||
| const CAmount & | nValue, | ||
| CWalletTx & | wtxNew, | ||
| CReserveKey & | reservekey, | ||
| CAmount & | nFeeRet, | ||
| std::string & | strFailReason, | ||
| const CCoinControl * | coinControl = NULL, |
||
| AvailableCoinsType | coin_type = ALL_COINS, |
||
| bool | useIX = false, |
||
| CAmount | nFeePay = 0, |
||
| int | ringSize = 6, |
||
| bool | tomyself = false |
||
| ) |
| bool CWallet::DelAddressBook | ( | const CTxDestination & | address | ) |
Definition at line 4609 of file wallet.cpp.
|
private |
| void GetAccountAddress | ( | CWallet * | pwalletMain, |
| std::string | strAccount, | ||
| int | nAccountIndex, | ||
| bool | bForceNew = false |
||
| ) |
Definition at line 4670 of file wallet.cpp.
| std::set< CTxDestination > CWallet::GetAccountAddresses | ( | std::string | strAccount | ) | const |
| std::map< CTxDestination, CAmount > CWallet::GetAddressBalances | ( | ) |
Definition at line 4858 of file wallet.cpp.
| std::set< std::set< CTxDestination > > CWallet::GetAddressGroupings | ( | ) |
Definition at line 4896 of file wallet.cpp.
| void CWallet::GetAllReserveKeys | ( | std::set< CKeyID > & | setAddress | ) | const |
Definition at line 5024 of file wallet.cpp.
| CAmount CWallet::GetBalance | ( | ) |
Definition at line 2243 of file wallet.cpp.
| bool CWallet::GetBudgetSystemCollateralTX | ( | CTransaction & | tx, |
| uint256 | hash, | ||
| bool | useIX | ||
| ) |
| CAmount CWallet::GetImmatureBalance | ( | ) | const |
Definition at line 2333 of file wallet.cpp.
| CAmount CWallet::GetImmatureWatchOnlyBalance | ( | ) | const |
Definition at line 2375 of file wallet.cpp.
| bool CWallet::GetKeyFromPool | ( | CPubKey & | key | ) |
Definition at line 4829 of file wallet.cpp.
| CAmount CWallet::GetLockedCoins | ( | ) | const |
Definition at line 2300 of file wallet.cpp.
| bool CWallet::GetMasternodeVinAndKeys | ( | CTxIn & | txinRet, |
| CPubKey & | pubKeyRet, | ||
| CKey & | keyRet, | ||
| std::string | strTxHash, | ||
| std::string | strOutputIndex, | ||
| std::string & | strError | ||
| ) |
Get 5000 PRCY output and keys which can be used for the Masternode.
Definition at line 2409 of file wallet.cpp.
|
static |
Definition at line 4522 of file wallet.cpp.
| int64_t CWallet::GetOldestKeyPoolTime | ( | ) |
| bool CReserveKey::GetReservedKey | ( | CPubKey & | pubkey | ) |
Definition at line 4992 of file wallet.cpp.
| CAmount CWallet::GetSpendableBalance | ( | ) |
Definition at line 2260 of file wallet.cpp.
| CAmount CWallet::GetUnconfirmedBalance | ( | ) | const |
Definition at line 2319 of file wallet.cpp.
| CAmount CWallet::GetUnconfirmedWatchOnlyBalance | ( | ) | const |
Definition at line 2361 of file wallet.cpp.
| CAmount CWallet::GetUnlockedCoins | ( | ) | const |
| CAmount CWallet::GetWatchOnlyBalance | ( | ) | const |
Definition at line 2346 of file wallet.cpp.
| bool CWallet::IsAutoConsolidateOn | ( | ) |
| bool CWallet::IsCollateralized | ( | const COutPoint & | outpoint | ) |
Definition at line 3048 of file wallet.cpp.
| bool CWallet::IsLockedCoin | ( | uint256 | hash, |
| unsigned int | n | ||
| ) | const |
| bool CWallet::IsMasternodeController | ( | ) |
Definition at line 3058 of file wallet.cpp.
| void CReserveKey::KeepKey | ( | ) |
Definition at line 5008 of file wallet.cpp.
| void CWallet::KeepKey | ( | int64_t | nIndex | ) |
Definition at line 4809 of file wallet.cpp.
| void CWallet::ListLockedCoins | ( | std::vector< COutPoint > & | vOutpts | ) |
| DBErrors CWallet::LoadWallet | ( | bool & | fFirstRunRet | ) |
| void CWallet::LockCoin | ( | COutPoint & | output | ) |
|
private |
| bool CWallet::MakeShnorrSignature | ( | CTransaction & | wtxNew | ) |
Definition at line 4008 of file wallet.cpp.
| bool CWallet::MintableCoins | ( | ) |
| bool CWallet::NewKeyPool | ( | ) |
Mark old keypool keys as used, and generate all new keys.
Definition at line 4646 of file wallet.cpp.
| uint32_t CWallet::ReadAutoConsolidateSettingTime | ( | ) |
Definition at line 3161 of file wallet.cpp.
| void CWallet::ReserveKeyFromKeyPool | ( | int64_t & | nIndex, |
| CKeyPool & | keypool | ||
| ) |
Definition at line 4739 of file wallet.cpp.
| void CWallet::resetPendingOutPoints | ( | ) |
| void CReserveKey::ReturnKey | ( | ) |
Definition at line 5016 of file wallet.cpp.
| void CWallet::ReturnKey | ( | int64_t | nIndex | ) |
|
private |
Definition at line 4529 of file wallet.cpp.
|
private |
| bool CWallet::SelectCoinsMinConf | ( | bool | needFee, |
| CAmount & | estimatedFee, | ||
| int | ringSize, | ||
| int | numOut, | ||
| const CAmount & | nTargetValue, | ||
| int | nConfMine, | ||
| int | nConfTheirs, | ||
| std::vector< COutput > | vCoins, | ||
| std::set< std::pair< const CWalletTx *, unsigned int > > & | setCoinsRet, | ||
| CAmount & | nValueRet | ||
| ) |
Definition at line 2861 of file wallet.cpp.
|
private |
Definition at line 4039 of file wallet.cpp.
| bool CWallet::SelectStakeCoins | ( | std::list< std::unique_ptr< CStakeInput > > & | listInputs, |
| CAmount | nTargetAmount | ||
| ) |
Definition at line 2629 of file wallet.cpp.
| bool CWallet::SetAddressBook | ( | const CTxDestination & | address, |
| const std::string & | strName, | ||
| const std::string & | purpose | ||
| ) |
Definition at line 4589 of file wallet.cpp.
| bool CWallet::SetDefaultKey | ( | const CPubKey & | vchPubKey | ) |
Definition at line 4632 of file wallet.cpp.
| StakingStatusError CWallet::StakingCoinStatus | ( | CAmount & | minFee, |
| CAmount & | maxFee | ||
| ) |
Definition at line 2712 of file wallet.cpp.
| bool CWallet::TopUpKeyPool | ( | unsigned int | kpSize = 0 | ) |
Definition at line 4706 of file wallet.cpp.
| void CWallet::UnlockAllCoins | ( | ) |
| void CWallet::UnlockCoin | ( | COutPoint & | output | ) |
|
virtual |
Reimplemented from CValidationInterface.
Definition at line 5043 of file wallet.cpp.
| bool CWallet::WriteAutoConsolidateSettingTime | ( | uint32_t | settingTime | ) |
Definition at line 3156 of file wallet.cpp.
1.8.17