Dash Core  0.12.2.1
P2P Digital Currency
CCoinControl Class Reference

#include <coincontrol.h>

Public Member Functions

 CCoinControl ()
 
void SetNull ()
 
bool HasSelected () const
 
bool IsSelected (const COutPoint &output) const
 
void Select (const COutPoint &output)
 
void UnSelect (const COutPoint &output)
 
void UnSelectAll ()
 
void ListSelected (std::vector< COutPoint > &vOutpoints) const
 

Public Attributes

CTxDestination destChange
 
bool fUsePrivateSend
 
bool fUseInstantSend
 
bool fAllowOtherInputs
 If false, allows unselected inputs, but requires all selected inputs be used. More...
 
bool fAllowWatchOnly
 Includes watch only addresses which match the ISMINE_WATCH_SOLVABLE criteria. More...
 
CAmount nMinimumTotalFee
 Minimum absolute fee (not per kilobyte) More...
 

Private Attributes

std::set< COutPointsetSelected
 

Detailed Description

Coin Control Features.

Definition at line 11 of file coincontrol.h.

Constructor & Destructor Documentation

◆ CCoinControl()

CCoinControl::CCoinControl ( )
inline

Definition at line 24 of file coincontrol.h.

Member Function Documentation

◆ HasSelected()

bool CCoinControl::HasSelected ( ) const
inline

◆ IsSelected()

bool CCoinControl::IsSelected ( const COutPoint output) const
inline

◆ ListSelected()

void CCoinControl::ListSelected ( std::vector< COutPoint > &  vOutpoints) const
inline

Definition at line 65 of file coincontrol.h.

Referenced by CWallet::SelectCoins(), and CoinControlDialog::updateLabels().

◆ Select()

◆ SetNull()

void CCoinControl::SetNull ( )
inline

Definition at line 29 of file coincontrol.h.

Referenced by CCoinControl(), and SendCoinsDialog::coinControlFeatureChanged().

◆ UnSelect()

void CCoinControl::UnSelect ( const COutPoint output)
inline

◆ UnSelectAll()

void CCoinControl::UnSelectAll ( )
inline

Member Data Documentation

◆ destChange

◆ fAllowOtherInputs

bool CCoinControl::fAllowOtherInputs

If false, allows unselected inputs, but requires all selected inputs be used.

Definition at line 18 of file coincontrol.h.

Referenced by CWallet::AvailableCoins(), CPrivateSendClient::CreateDenominated(), CWallet::FundTransaction(), CPrivateSendClient::MakeCollateralAmounts(), CWallet::SelectCoins(), and SetNull().

◆ fAllowWatchOnly

bool CCoinControl::fAllowWatchOnly

Includes watch only addresses which match the ISMINE_WATCH_SOLVABLE criteria.

Definition at line 20 of file coincontrol.h.

Referenced by CWallet::AvailableCoins(), CPrivateSendClient::CreateDenominated(), CWallet::FundTransaction(), CPrivateSendClient::MakeCollateralAmounts(), and SetNull().

◆ fUseInstantSend

bool CCoinControl::fUseInstantSend

◆ fUsePrivateSend

◆ nMinimumTotalFee

CAmount CCoinControl::nMinimumTotalFee

Minimum absolute fee (not per kilobyte)

Definition at line 22 of file coincontrol.h.

Referenced by CWallet::CreateTransaction(), SetNull(), SendCoinsDialog::updateGlobalFeeVariables(), and CoinControlDialog::updateLabels().

◆ setSelected

std::set<COutPoint> CCoinControl::setSelected
private

Definition at line 71 of file coincontrol.h.

Referenced by HasSelected(), IsSelected(), ListSelected(), Select(), SetNull(), UnSelect(), and UnSelectAll().


The documentation for this class was generated from the following file: