Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | Public Attributes | Private Attributes | List of all members
CCoinControl Class Reference

Coin Control Features. More...

#include <coincontrol.h>

Public Member Functions

 CCoinControl ()
 RVN END. More...
 
void SetNull ()
 
bool HasSelected () const
 
bool HasAssetSelected () const
 
bool IsSelected (const COutPoint &output) const
 
bool IsAssetSelected (const COutPoint &output) const
 
void Select (const COutPoint &output)
 
void SelectAsset (const COutPoint &output)
 
void UnSelect (const COutPoint &output)
 
void UnSelectAsset (const COutPoint &output)
 
void UnSelectAll ()
 
void ListSelected (std::vector< COutPoint > &vOutpoints) const
 
void ListSelectedAssets (std::vector< COutPoint > &vOutpoints) const
 

Public Attributes

CTxDestination destChange
 
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...
 
bool fOverrideFeeRate
 Override automatic min/max checks on fee, m_feerate must be set if true. More...
 
boost::optional< CFeeRatem_feerate
 Override the default payTxFee if set. More...
 
boost::optional< unsigned int > m_confirm_target
 Override the default confirmation target if set. More...
 
bool signalRbf
 Signal BIP-125 replace by fee. More...
 
FeeEstimateMode m_fee_mode
 Fee estimation mode to control arguments to estimateSmartFee. More...
 
std::string strAssetSelected
 RVN START. More...
 

Private Attributes

std::set< COutPointsetSelected
 
std::set< COutPointsetAssetsSelected
 

Detailed Description

Coin Control Features.

Definition at line 17 of file coincontrol.h.

Constructor & Destructor Documentation

◆ CCoinControl()

CCoinControl::CCoinControl ( )
inline

RVN END.

Definition at line 41 of file coincontrol.h.

Here is the call graph for this function:

Member Function Documentation

◆ HasAssetSelected()

bool CCoinControl::HasAssetSelected ( ) const
inline

Definition at line 66 of file coincontrol.h.

Here is the caller graph for this function:

◆ HasSelected()

bool CCoinControl::HasSelected ( ) const
inline

Definition at line 61 of file coincontrol.h.

◆ IsAssetSelected()

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

Definition at line 76 of file coincontrol.h.

Here is the caller graph for this function:

◆ IsSelected()

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

Definition at line 71 of file coincontrol.h.

Here is the caller graph for this function:

◆ ListSelected()

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

Definition at line 113 of file coincontrol.h.

Here is the caller graph for this function:

◆ ListSelectedAssets()

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

Definition at line 118 of file coincontrol.h.

Here is the caller graph for this function:

◆ Select()

void CCoinControl::Select ( const COutPoint output)
inline

Definition at line 81 of file coincontrol.h.

Here is the caller graph for this function:

◆ SelectAsset()

void CCoinControl::SelectAsset ( const COutPoint output)
inline

Definition at line 86 of file coincontrol.h.

Here is the caller graph for this function:

◆ SetNull()

void CCoinControl::SetNull ( )
inline

Definition at line 46 of file coincontrol.h.

Here is the caller graph for this function:

◆ UnSelect()

void CCoinControl::UnSelect ( const COutPoint output)
inline

Definition at line 92 of file coincontrol.h.

Here is the caller graph for this function:

◆ UnSelectAll()

void CCoinControl::UnSelectAll ( )
inline

Definition at line 106 of file coincontrol.h.

Here is the caller graph for this function:

◆ UnSelectAsset()

void CCoinControl::UnSelectAsset ( const COutPoint output)
inline

Definition at line 99 of file coincontrol.h.

Here is the caller graph for this function:

Member Data Documentation

◆ destChange

CTxDestination CCoinControl::destChange

Definition at line 20 of file coincontrol.h.

◆ fAllowOtherInputs

bool CCoinControl::fAllowOtherInputs

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

Definition at line 22 of file coincontrol.h.

◆ fAllowWatchOnly

bool CCoinControl::fAllowWatchOnly

Includes watch only addresses which match the ISMINE_WATCH_SOLVABLE criteria.

Definition at line 24 of file coincontrol.h.

◆ fOverrideFeeRate

bool CCoinControl::fOverrideFeeRate

Override automatic min/max checks on fee, m_feerate must be set if true.

Definition at line 26 of file coincontrol.h.

◆ m_confirm_target

boost::optional<unsigned int> CCoinControl::m_confirm_target

Override the default confirmation target if set.

Definition at line 30 of file coincontrol.h.

◆ m_fee_mode

FeeEstimateMode CCoinControl::m_fee_mode

Fee estimation mode to control arguments to estimateSmartFee.

Definition at line 34 of file coincontrol.h.

◆ m_feerate

boost::optional<CFeeRate> CCoinControl::m_feerate

Override the default payTxFee if set.

Definition at line 28 of file coincontrol.h.

◆ setAssetsSelected

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

Definition at line 125 of file coincontrol.h.

◆ setSelected

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

Definition at line 124 of file coincontrol.h.

◆ signalRbf

bool CCoinControl::signalRbf

Signal BIP-125 replace by fee.

Definition at line 32 of file coincontrol.h.

◆ strAssetSelected

std::string CCoinControl::strAssetSelected

RVN START.

Name of the asset that is selected, used when sending assets with coincontrol

Definition at line 38 of file coincontrol.h.


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