Bitcoin Core  0.15.99
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 ()
 
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
 Custom change destination, if not set an address is generated. More...
 
boost::optional< OutputTypem_change_type
 Override the default change type if set, ignored if destChange is set. More...
 
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 wallet's m_pay_tx_fee if set. More...
 
boost::optional< unsigned int > m_confirm_target
 Override the default confirmation target if set. More...
 
boost::optional< bool > m_signal_bip125_rbf
 Override the wallet's m_signal_rbf if set. More...
 
FeeEstimateMode m_fee_mode
 Fee estimation mode to control arguments to estimateSmartFee. More...
 

Private Attributes

std::set< COutPointsetSelected
 

Detailed Description

Coin Control Features.

Definition at line 16 of file coincontrol.h.

Constructor & Destructor Documentation

CCoinControl::CCoinControl ( )
inline

Definition at line 38 of file coincontrol.h.

Here is the call graph for this function:

Member Function Documentation

bool CCoinControl::HasSelected ( ) const
inline

Definition at line 57 of file coincontrol.h.

Here is the caller graph for this function:

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

Definition at line 62 of file coincontrol.h.

Here is the caller graph for this function:

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

Definition at line 82 of file coincontrol.h.

Here is the caller graph for this function:

void CCoinControl::Select ( const COutPoint output)
inline

Definition at line 67 of file coincontrol.h.

Here is the caller graph for this function:

void CCoinControl::SetNull ( )
inline

Definition at line 43 of file coincontrol.h.

Here is the caller graph for this function:

void CCoinControl::UnSelect ( const COutPoint output)
inline

Definition at line 72 of file coincontrol.h.

Here is the caller graph for this function:

void CCoinControl::UnSelectAll ( )
inline

Definition at line 77 of file coincontrol.h.

Here is the caller graph for this function:

Member Data Documentation

CTxDestination CCoinControl::destChange

Custom change destination, if not set an address is generated.

Definition at line 20 of file coincontrol.h.

bool CCoinControl::fAllowOtherInputs

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

Definition at line 24 of file coincontrol.h.

bool CCoinControl::fAllowWatchOnly

Includes watch only addresses which match the ISMINE_WATCH_SOLVABLE criteria.

Definition at line 26 of file coincontrol.h.

bool CCoinControl::fOverrideFeeRate

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

Definition at line 28 of file coincontrol.h.

boost::optional<OutputType> CCoinControl::m_change_type

Override the default change type if set, ignored if destChange is set.

Definition at line 22 of file coincontrol.h.

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

Override the default confirmation target if set.

Definition at line 32 of file coincontrol.h.

FeeEstimateMode CCoinControl::m_fee_mode

Fee estimation mode to control arguments to estimateSmartFee.

Definition at line 36 of file coincontrol.h.

boost::optional<CFeeRate> CCoinControl::m_feerate

Override the wallet's m_pay_tx_fee if set.

Definition at line 30 of file coincontrol.h.

boost::optional<bool> CCoinControl::m_signal_bip125_rbf

Override the wallet's m_signal_rbf if set.

Definition at line 34 of file coincontrol.h.

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

Definition at line 88 of file coincontrol.h.


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