PIVX Core  5.6.99
P2P Digital Currency
Functions
Actions

Functions

Balance CWallet::GetBalance (int min_depth=0) const
 
CAmount CWallet::loopTxsBalance (const std::function< void(const uint256 &, const CWalletTx &, CAmount &)> &method) const
 
CAmount CWallet::GetAvailableBalance (bool fIncludeDelegated=true, bool fIncludeShielded=true) const
 
CAmount CWallet::GetAvailableBalance (isminefilter &filter, bool useCache=false, int minDepth=1) const
 
CAmount CWallet::GetColdStakingBalance () const
 
CAmount CWallet::GetStakingBalance (const bool fIncludeColdStaking=true) const
 
CAmount CWallet::GetDelegatedBalance () const
 
CAmount CWallet::GetLockedCoins () const
 
CAmount CWallet::GetLockedShieldCoins () const
 
CAmount CWallet::GetUnconfirmedBalance (isminetype filter=ISMINE_SPENDABLE_ALL) const
 
CAmount CWallet::GetImmatureBalance () const
 
CAmount CWallet::GetImmatureColdStakingBalance () const
 
CAmount CWallet::GetImmatureDelegatedBalance () const
 
CAmount CWallet::GetWatchOnlyBalance () const
 
CAmount CWallet::GetUnconfirmedWatchOnlyBalance () const
 
CAmount CWallet::GetImmatureWatchOnlyBalance () const
 
CAmount CWallet::GetLegacyBalance (const isminefilter &filter, int minDepth) const
 
CAmount CWallet::GetAvailableShieldedBalance (bool fUseCache=true) const
 
CAmount CWallet::GetUnconfirmedShieldedBalance () const
 
void CWallet::GetAvailableP2CSCoins (std::vector< COutput > &vCoins) const
 

Available coins (P2CS)

More...
 
bool CWallet::GetMasternodeVinAndKeys (CPubKey &pubKeyRet, CKey &keyRet, const COutPoint &collateralOut, bool fValidateCollateral, std::string &strError)
 Get 10000 PIV output and keys which can be used for the Masternode. More...
 
OutputAvailabilityResult CWallet::CheckOutputAvailability (const CTxOut &output, const unsigned int outIndex, const uint256 &wtxid, const CCoinControl *coinControl, const bool fCoinsSelected, const bool fIncludeColdStaking, const bool fIncludeDelegated, const bool fIncludeLocked) const
 
bool CWallet::AvailableCoins (std::vector< COutput > *pCoins, const CCoinControl *coinControl=nullptr, AvailableCoinsFilter coinsFilter=AvailableCoinsFilter()) const
 populate vCoins with vector of available COutputs. More...
 
std::map< CTxDestination, std::vector< COutput > > CWallet::AvailableCoinsByAddress (bool fConfirmed, CAmount maxCoinValue, bool fIncludeColdStaking)
 
bool CWallet::StakeableCoins (std::vector< CStakeableOutput > *pCoins=nullptr)
 

Available coins (staking)

More...
 
bool CWallet::SelectCoinsMinConf (const CAmount &nTargetValue, int nConfMine, int nConfTheirs, uint64_t nMaxAncestors, std::vector< COutput > vCoins, std::set< std::pair< const CWalletTx *, unsigned int > > &setCoinsRet, CAmount &nValueRet) const
 Select coins until nTargetValue is reached. More...
 
bool CWallet::SelectCoinsToSpend (const std::vector< COutput > &vAvailableCoins, const CAmount &nTargetValue, std::set< std::pair< const CWalletTx *, unsigned int > > &setCoinsRet, CAmount &nValueRet, const CCoinControl *coinControl=nullptr) const
 

Available coins (spending)

More...
 
std::map< std::pair< CTxDestination, Optional< CTxDestination > >, std::vector< COutput > > CWallet::ListCoins () const
 Return list of available coins and locked coins grouped by non-change output address. More...
 
std::map< libzcash::SaplingPaymentAddress, std::vector< SaplingNoteEntry > > CWallet::ListNotes () const
 Return list of available shield notes and locked shield notes grouped by sapling address. More...
 
bool CWallet::CreateBudgetFeeTX (CTransactionRef &tx, const uint256 &hash, CReserveKey &keyChange, CAmount fee)
 
bool CWallet::FundTransaction (CMutableTransaction &tx, CAmount &nFeeRet, bool overrideEstimatedFeeRate, const CFeeRate &specificFeeRate, int &nChangePosInOut, std::string &strFailReason, bool includeWatching, bool lockUnspents, const std::set< int > &setSubtractFeeFromOutputs, const CTxDestination &destChange=CNoDestination())
 
std::vector< COutputCWallet::GetOutputsFromCoinControl (const CCoinControl *coinControl)
 Return the selected known outputs. More...
 
bool CWallet::CreateTransaction (const std::vector< CRecipient > &vecSend, CTransactionRef &txRet, CReserveKey &reservekey, CAmount &nFeeRet, int &nChangePosInOut, std::string &strFailReason, const CCoinControl *coinControl=nullptr, bool sign=true, CAmount nFeePay=0, bool fIncludeDelegated=false, bool *fStakeDelegationVoided=nullptr, int nExtraSize=0, int nMinDepth=0)
 Create a new transaction paying the recipients with a set of coins selected by SelectCoins(); Also create the change output, when needed. More...
 
bool CWallet::CreateTransaction (CScript scriptPubKey, const CAmount &nValue, CTransactionRef &tx, CReserveKey &reservekey, CAmount &nFeeRet, std::string &strFailReason, const CCoinControl *coinControl=nullptr, CAmount nFeePay=0, bool fIncludeDelegated=false, bool *fStakeDelegationVoided=nullptr, int nExtraSize=0, int nMinDepth=0)
 
int CWallet::GetLastBlockHeightLockWallet () const
 Get last block processed height locking the wallet. More...
 
bool CWallet::CreateCoinstakeOuts (const CPivStake &stakeInput, std::vector< CTxOut > &vout, CAmount nTotal) const
 
bool CWallet::CreateCoinStake (const CBlockIndex *pindexPrev, unsigned int nBits, CMutableTransaction &txNew, int64_t &nTxNewTime, std::vector< CStakeableOutput > *availableCoins, bool stopOnNewBlock=true) const
 
bool CWallet::SignCoinStake (CMutableTransaction &txNew) const
 
std::string CWallet::CommitResult::ToString () const
 
CWallet::CommitResult CWallet::CommitTransaction (CTransactionRef tx, CReserveKey &opReservekey, CConnman *connman)
 
CWallet::CommitResult CWallet::CommitTransaction (CTransactionRef tx, CReserveKey *reservekey, CConnman *connman, mapValue_t *extraValues=nullptr)
 Call after CreateTransaction unless you want to abort. More...
 
DBErrors CWallet::LoadWallet (bool &fFirstRunRet)
 
DBErrors CWallet::ZapWalletTx (std::vector< CWalletTx > &vWtx)
 
static std::string CWallet::ParseIntoAddress (const CWDestination &dest, const std::string &purpose)
 
bool CWallet::SetAddressBook (const CWDestination &address, const std::string &strName, const std::string &purpose)
 
bool CWallet::DelAddressBook (const CWDestination &address, const CChainParams::Base58Type addrType=CChainParams::PUBKEY_ADDRESS)
 
std::string CWallet::GetPurposeForAddressBookEntry (const CWDestination &address) const
 
std::string CWallet::GetNameForAddressBookEntry (const CWDestination &address) const
 
Optional< AddressBook::CAddressBookDataCWallet::GetAddressBookEntry (const CWDestination &address) const
 
void CWallet::LoadAddressBookName (const CWDestination &dest, const std::string &strName)
 
void CWallet::LoadAddressBookPurpose (const CWDestination &dest, const std::string &strPurpose)
 
bool CWallet::HasAddressBook (const CWDestination &address) const
 
bool CWallet::HasDelegator (const CTxOut &out) const
 
size_t CWallet::KeypoolCountExternalKeys ()
 
bool CWallet::TopUpKeyPool (unsigned int kpSize=0)
 
void CWallet::KeepKey (int64_t nIndex)
 
void CWallet::ReturnKey (int64_t nIndex, const bool internal=false, const bool staking=false)
 
bool CWallet::GetKeyFromPool (CPubKey &key, const uint8_t &type=HDChain::ChangeType::EXTERNAL)
 
int64_t CWallet::GetOldestKeyPoolTime ()
 
std::map< CTxDestination, CAmountCWallet::GetAddressBalances ()
 
std::set< std::set< CTxDestination > > CWallet::GetAddressGroupings ()
 
std::set< CTxDestinationCWallet::GetLabelAddresses (const std::string &label) const
 
bool CReserveKey::GetReservedKey (CPubKey &pubkey, bool internal=false)
 
void CReserveKey::KeepKey ()
 
void CReserveKey::ReturnKey ()
 
void CWallet::LockCoin (const COutPoint &output)
 
void CWallet::LockNote (const SaplingOutPoint &op)
 
void CWallet::UnlockCoin (const COutPoint &output)
 
void CWallet::UnlockNote (const SaplingOutPoint &op)
 
void CWallet::UnlockAllCoins ()
 
void CWallet::UnlockAllNotes ()
 
bool CWallet::IsLockedCoin (const uint256 &hash, unsigned int n) const
 
bool CWallet::IsLockedNote (const SaplingOutPoint &op) const
 
std::set< COutPointCWallet::ListLockedCoins ()
 
std::set< SaplingOutPointCWallet::ListLockedNotes ()
 
bool CWallet::SetStakeSplitThreshold (const CAmount sst)
 

Detailed Description

Function Documentation

◆ AvailableCoins()

bool CWallet::AvailableCoins ( std::vector< COutput > *  pCoins,
const CCoinControl coinControl = nullptr,
AvailableCoinsFilter  coinsFilter = AvailableCoinsFilter() 
) const

populate vCoins with vector of available COutputs.

Definition at line 2555 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AvailableCoinsByAddress()

std::map< CTxDestination, std::vector< COutput > > CWallet::AvailableCoinsByAddress ( bool  fConfirmed,
CAmount  maxCoinValue,
bool  fIncludeColdStaking 
)

Definition at line 2637 of file wallet.cpp.

Here is the caller graph for this function:

◆ CheckOutputAvailability()

CWallet::OutputAvailabilityResult CWallet::CheckOutputAvailability ( const CTxOut output,
const unsigned int  outIndex,
const uint256 wtxid,
const CCoinControl coinControl,
const bool  fCoinsSelected,
const bool  fIncludeColdStaking,
const bool  fIncludeDelegated,
const bool  fIncludeLocked 
) const
private

Definition at line 2511 of file wallet.cpp.

Here is the call graph for this function:

◆ CommitTransaction() [1/2]

CWallet::CommitResult CWallet::CommitTransaction ( CTransactionRef  tx,
CReserveKey opReservekey,
CConnman connman 
)

Definition at line 3510 of file wallet.cpp.

Here is the caller graph for this function:

◆ CommitTransaction() [2/2]

CWallet::CommitResult CWallet::CommitTransaction ( CTransactionRef  tx,
CReserveKey reservekey,
CConnman connman,
mapValue_t extraValues = nullptr 
)

Call after CreateTransaction unless you want to abort.

Definition at line 3518 of file wallet.cpp.

Here is the call graph for this function:

◆ CreateBudgetFeeTX()

bool CWallet::CreateBudgetFeeTX ( CTransactionRef tx,
const uint256 hash,
CReserveKey keyChange,
CAmount  fee 
)

Definition at line 2944 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateCoinStake()

bool CWallet::CreateCoinStake ( const CBlockIndex pindexPrev,
unsigned int  nBits,
CMutableTransaction txNew,
int64_t &  nTxNewTime,
std::vector< CStakeableOutput > *  availableCoins,
bool  stopOnNewBlock = true 
) const

Definition at line 3367 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateCoinstakeOuts()

bool CWallet::CreateCoinstakeOuts ( const CPivStake stakeInput,
std::vector< CTxOut > &  vout,
CAmount  nTotal 
) const

Definition at line 3325 of file wallet.cpp.

Here is the call graph for this function:

◆ CreateTransaction() [1/2]

bool CWallet::CreateTransaction ( const std::vector< CRecipient > &  vecSend,
CTransactionRef txRet,
CReserveKey reservekey,
CAmount nFeeRet,
int &  nChangePosInOut,
std::string &  strFailReason,
const CCoinControl coinControl = nullptr,
bool  sign = true,
CAmount  nFeePay = 0,
bool  fIncludeDelegated = false,
bool *  fStakeDelegationVoided = nullptr,
int  nExtraSize = 0,
int  nMinDepth = 0 
)

Create a new transaction paying the recipients with a set of coins selected by SelectCoins(); Also create the change output, when needed.

Note
passing nChangePosInOut as -1 will result in setting a random position
Todo:
: pass in scriptChange instead of reservekey so

Definition at line 3040 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateTransaction() [2/2]

bool CWallet::CreateTransaction ( CScript  scriptPubKey,
const CAmount nValue,
CTransactionRef tx,
CReserveKey reservekey,
CAmount nFeeRet,
std::string &  strFailReason,
const CCoinControl coinControl = nullptr,
CAmount  nFeePay = 0,
bool  fIncludeDelegated = false,
bool *  fStakeDelegationVoided = nullptr,
int  nExtraSize = 0,
int  nMinDepth = 0 
)

Definition at line 3312 of file wallet.cpp.

Here is the call graph for this function:

◆ DelAddressBook()

bool CWallet::DelAddressBook ( const CWDestination address,
const CChainParams::Base58Type  addrType = CChainParams::PUBKEY_ADDRESS 
)

Definition at line 3659 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FundTransaction()

bool CWallet::FundTransaction ( CMutableTransaction tx,
CAmount nFeeRet,
bool  overrideEstimatedFeeRate,
const CFeeRate specificFeeRate,
int &  nChangePosInOut,
std::string &  strFailReason,
bool  includeWatching,
bool  lockUnspents,
const std::set< int > &  setSubtractFeeFromOutputs,
const CTxDestination destChange = CNoDestination() 
)

Definition at line 2965 of file wallet.cpp.

Here is the call graph for this function:

◆ GetAddressBalances()

std::map< CTxDestination, CAmount > CWallet::GetAddressBalances ( )

Definition at line 3762 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAddressBookEntry()

Optional< AddressBook::CAddressBookData > CWallet::GetAddressBookEntry ( const CWDestination address) const

Definition at line 3693 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetAddressGroupings()

std::set< std::set< CTxDestination > > CWallet::GetAddressGroupings ( )

Definition at line 3804 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAvailableBalance() [1/2]

CAmount CWallet::GetAvailableBalance ( bool  fIncludeDelegated = true,
bool  fIncludeShielded = true 
) const

Definition at line 2162 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetAvailableBalance() [2/2]

CAmount CWallet::GetAvailableBalance ( isminefilter filter,
bool  useCache = false,
int  minDepth = 1 
) const

Definition at line 2177 of file wallet.cpp.

◆ GetAvailableP2CSCoins()

void CWallet::GetAvailableP2CSCoins ( std::vector< COutput > &  vCoins) const

Available coins (P2CS)

Definition at line 2362 of file wallet.cpp.

◆ GetAvailableShieldedBalance()

CAmount CWallet::GetAvailableShieldedBalance ( bool  fUseCache = true) const

Definition at line 2351 of file wallet.cpp.

◆ GetBalance()

CWallet::Balance CWallet::GetBalance ( int  min_depth = 0) const

Definition at line 2121 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetColdStakingBalance()

CAmount CWallet::GetColdStakingBalance ( ) const

Definition at line 2188 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDelegatedBalance()

CAmount CWallet::GetDelegatedBalance ( ) const

Definition at line 2210 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetImmatureBalance()

CAmount CWallet::GetImmatureBalance ( ) const

Definition at line 2266 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetImmatureColdStakingBalance()

CAmount CWallet::GetImmatureColdStakingBalance ( ) const

Definition at line 2273 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetImmatureDelegatedBalance()

CAmount CWallet::GetImmatureDelegatedBalance ( ) const

Definition at line 2280 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetImmatureWatchOnlyBalance()

CAmount CWallet::GetImmatureWatchOnlyBalance ( ) const

Definition at line 2303 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetKeyFromPool()

bool CWallet::GetKeyFromPool ( CPubKey key,
const uint8_t &  type = HDChain::ChangeType::EXTERNAL 
)

Definition at line 3752 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetLabelAddresses()

std::set< CTxDestination > CWallet::GetLabelAddresses ( const std::string &  label) const

Definition at line 3887 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetLastBlockHeightLockWallet()

int CWallet::GetLastBlockHeightLockWallet ( ) const

Get last block processed height locking the wallet.

Definition at line 3320 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetLegacyBalance()

CAmount CWallet::GetLegacyBalance ( const isminefilter filter,
int  minDepth 
) const

Definition at line 2316 of file wallet.cpp.

◆ GetLockedCoins()

CAmount CWallet::GetLockedCoins ( ) const

Definition at line 2218 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLockedShieldCoins()

CAmount CWallet::GetLockedShieldCoins ( ) const

Definition at line 2236 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMasternodeVinAndKeys()

bool CWallet::GetMasternodeVinAndKeys ( CPubKey pubKeyRet,
CKey keyRet,
const COutPoint collateralOut,
bool  fValidateCollateral,
std::string &  strError 
)

Get 10000 PIV output and keys which can be used for the Masternode.

Definition at line 2437 of file wallet.cpp.

Here is the call graph for this function:

◆ GetNameForAddressBookEntry()

std::string CWallet::GetNameForAddressBookEntry ( const CWDestination address) const

Definition at line 3686 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetOldestKeyPoolTime()

int64_t CWallet::GetOldestKeyPoolTime ( )

Definition at line 3757 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetOutputsFromCoinControl()

std::vector< COutput > CWallet::GetOutputsFromCoinControl ( const CCoinControl coinControl)
private

Return the selected known outputs.

Definition at line 3023 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPurposeForAddressBookEntry()

std::string CWallet::GetPurposeForAddressBookEntry ( const CWDestination address) const

Definition at line 3679 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetReservedKey()

bool CReserveKey::GetReservedKey ( CPubKey pubkey,
bool  internal = false 
)

Definition at line 3901 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetStakingBalance()

CAmount CWallet::GetStakingBalance ( const bool  fIncludeColdStaking = true) const

Definition at line 2196 of file wallet.cpp.

Here is the call graph for this function:

◆ GetUnconfirmedBalance()

CAmount CWallet::GetUnconfirmedBalance ( isminetype  filter = ISMINE_SPENDABLE_ALL) const

Definition at line 2258 of file wallet.cpp.

Here is the caller graph for this function:

◆ GetUnconfirmedShieldedBalance()

CAmount CWallet::GetUnconfirmedShieldedBalance ( ) const

Definition at line 2357 of file wallet.cpp.

Here is the call graph for this function:

◆ GetUnconfirmedWatchOnlyBalance()

CAmount CWallet::GetUnconfirmedWatchOnlyBalance ( ) const

Definition at line 2295 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetWatchOnlyBalance()

CAmount CWallet::GetWatchOnlyBalance ( ) const

Definition at line 2287 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasAddressBook()

bool CWallet::HasAddressBook ( const CWDestination address) const

Definition at line 3710 of file wallet.cpp.

Here is the caller graph for this function:

◆ HasDelegator()

bool CWallet::HasDelegator ( const CTxOut out) const

Definition at line 3715 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsLockedCoin()

bool CWallet::IsLockedCoin ( const uint256 hash,
unsigned int  n 
) const

Definition at line 3984 of file wallet.cpp.

Here is the caller graph for this function:

◆ IsLockedNote()

bool CWallet::IsLockedNote ( const SaplingOutPoint op) const

Definition at line 3992 of file wallet.cpp.

Here is the caller graph for this function:

◆ KeepKey() [1/2]

void CReserveKey::KeepKey ( )

Definition at line 3932 of file wallet.cpp.

Here is the caller graph for this function:

◆ KeepKey() [2/2]

void CWallet::KeepKey ( int64_t  nIndex)

Definition at line 3739 of file wallet.cpp.

◆ KeypoolCountExternalKeys()

size_t CWallet::KeypoolCountExternalKeys ( )

Definition at line 3729 of file wallet.cpp.

Here is the caller graph for this function:

◆ ListCoins()

std::map< std::pair< CTxDestination, Optional< CTxDestination > >, std::vector< COutput > > CWallet::ListCoins ( ) const

Return list of available coins and locked coins grouped by non-change output address.

PIVX: group coins by pair <CTxDestination, Optional<CTxDestination>>. The optional destination is reserved for the staker address in case of P2CS.

Definition at line 2909 of file wallet.cpp.

Here is the caller graph for this function:

◆ ListLockedCoins()

std::set< COutPoint > CWallet::ListLockedCoins ( )

Definition at line 3998 of file wallet.cpp.

Here is the caller graph for this function:

◆ ListLockedNotes()

std::set< SaplingOutPoint > CWallet::ListLockedNotes ( )

Definition at line 4004 of file wallet.cpp.

Here is the caller graph for this function:

◆ ListNotes()

std::map< libzcash::SaplingPaymentAddress, std::vector< SaplingNoteEntry > > CWallet::ListNotes ( ) const

Return list of available shield notes and locked shield notes grouped by sapling address.

Definition at line 2939 of file wallet.cpp.

Here is the caller graph for this function:

◆ LoadAddressBookName()

void CWallet::LoadAddressBookName ( const CWDestination dest,
const std::string &  strName 
)

Definition at line 3700 of file wallet.cpp.

Here is the caller graph for this function:

◆ LoadAddressBookPurpose()

void CWallet::LoadAddressBookPurpose ( const CWDestination dest,
const std::string &  strPurpose 
)

Definition at line 3705 of file wallet.cpp.

Here is the caller graph for this function:

◆ LoadWallet()

DBErrors CWallet::LoadWallet ( bool &  fFirstRunRet)
Todo:
: Implement spk_man->RewriteDB().

Definition at line 3584 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LockCoin()

void CWallet::LockCoin ( const COutPoint output)

Definition at line 3948 of file wallet.cpp.

Here is the caller graph for this function:

◆ LockNote()

void CWallet::LockNote ( const SaplingOutPoint op)

Definition at line 3954 of file wallet.cpp.

Here is the caller graph for this function:

◆ loopTxsBalance()

CAmount CWallet::loopTxsBalance ( const std::function< void(const uint256 &, const CWalletTx &, CAmount &)> &  method) const

Definition at line 2150 of file wallet.cpp.

Here is the caller graph for this function:

◆ ParseIntoAddress()

std::string CWallet::ParseIntoAddress ( const CWDestination dest,
const std::string &  purpose 
)
static

Definition at line 3630 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReturnKey() [1/2]

void CReserveKey::ReturnKey ( )

Definition at line 3940 of file wallet.cpp.

Here is the caller graph for this function:

◆ ReturnKey() [2/2]

void CWallet::ReturnKey ( int64_t  nIndex,
const bool  internal = false,
const bool  staking = false 
)

Definition at line 3744 of file wallet.cpp.

◆ SelectCoinsMinConf()

bool CWallet::SelectCoinsMinConf ( const CAmount nTargetValue,
int  nConfMine,
int  nConfTheirs,
uint64_t  nMaxAncestors,
std::vector< COutput vCoins,
std::set< std::pair< const CWalletTx *, unsigned int > > &  setCoinsRet,
CAmount nValueRet 
) const

Select coins until nTargetValue is reached.

Return the actual value and the corresponding coin set.

Definition at line 2754 of file wallet.cpp.

◆ SelectCoinsToSpend()

bool CWallet::SelectCoinsToSpend ( const std::vector< COutput > &  vAvailableCoins,
const CAmount nTargetValue,
std::set< std::pair< const CWalletTx *, unsigned int > > &  setCoinsRet,
CAmount nValueRet,
const CCoinControl coinControl = nullptr 
) const

Available coins (spending)

Todo:
: Allow non-wallet inputs

Definition at line 2845 of file wallet.cpp.

Here is the caller graph for this function:

◆ SetAddressBook()

bool CWallet::SetAddressBook ( const CWDestination address,
const std::string &  strName,
const std::string &  purpose 
)

Definition at line 3642 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetStakeSplitThreshold()

bool CWallet::SetStakeSplitThreshold ( const CAmount  sst)

Definition at line 4010 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SignCoinStake()

bool CWallet::SignCoinStake ( CMutableTransaction txNew) const

Definition at line 3475 of file wallet.cpp.

Here is the call graph for this function:

◆ StakeableCoins()

bool CWallet::StakeableCoins ( std::vector< CStakeableOutput > *  pCoins = nullptr)

Available coins (staking)

Definition at line 2709 of file wallet.cpp.

Here is the call graph for this function:

◆ TopUpKeyPool()

bool CWallet::TopUpKeyPool ( unsigned int  kpSize = 0)

Definition at line 3734 of file wallet.cpp.

Here is the caller graph for this function:

◆ ToString()

std::string CWallet::CommitResult::ToString ( ) const

Definition at line 3489 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UnlockAllCoins()

void CWallet::UnlockAllCoins ( )

Definition at line 3972 of file wallet.cpp.

Here is the caller graph for this function:

◆ UnlockAllNotes()

void CWallet::UnlockAllNotes ( )

Definition at line 3978 of file wallet.cpp.

Here is the caller graph for this function:

◆ UnlockCoin()

void CWallet::UnlockCoin ( const COutPoint output)

Definition at line 3960 of file wallet.cpp.

Here is the caller graph for this function:

◆ UnlockNote()

void CWallet::UnlockNote ( const SaplingOutPoint op)

Definition at line 3966 of file wallet.cpp.

Here is the caller graph for this function:

◆ ZapWalletTx()

DBErrors CWallet::ZapWalletTx ( std::vector< CWalletTx > &  vWtx)

Definition at line 3611 of file wallet.cpp.

Here is the call graph for this function: