PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Public Attributes | Private Attributes | List of all members
CCoinControl Class Reference

Coin Control Features. More...

#include <coincontrol.h>

Collaboration diagram for CCoinControl:
[legend]

Public Member Functions

 CCoinControl ()
 
void SetNull ()
 
bool HasSelected () const
 
bool IsSelected (const uint256 &hash, unsigned int n) const
 
void Select (const COutPoint &output)
 
void UnSelect (const COutPoint &output)
 
void UnSelectAll ()
 
void ListSelected (std::vector< COutPoint > &vOutpoints)
 
unsigned int QuantitySelected ()
 
void SetSelection (std::set< COutPoint > setSelected)
 

Public Attributes

CTxDestination destChange
 
CPubKey receiver
 
CKey txPriv
 
bool useSwiftTX
 
bool fSplitBlock
 
int nSplitBlock
 
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 15 of file coincontrol.h.

Constructor & Destructor Documentation

◆ CCoinControl()

CCoinControl::CCoinControl ( )
inline

Definition at line 31 of file coincontrol.h.

Here is the call graph for this function:

Member Function Documentation

◆ HasSelected()

bool CCoinControl::HasSelected ( ) const
inline

Definition at line 48 of file coincontrol.h.

Here is the caller graph for this function:

◆ IsSelected()

bool CCoinControl::IsSelected ( const uint256 hash,
unsigned int  n 
) const
inline

Definition at line 53 of file coincontrol.h.

Here is the caller graph for this function:

◆ ListSelected()

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

Definition at line 74 of file coincontrol.h.

Here is the caller graph for this function:

◆ QuantitySelected()

unsigned int CCoinControl::QuantitySelected ( )
inline

Definition at line 79 of file coincontrol.h.

◆ Select()

void CCoinControl::Select ( const COutPoint output)
inline

Definition at line 59 of file coincontrol.h.

Here is the caller graph for this function:

◆ SetNull()

void CCoinControl::SetNull ( )
inline

Definition at line 36 of file coincontrol.h.

Here is the caller graph for this function:

◆ SetSelection()

void CCoinControl::SetSelection ( std::set< COutPoint setSelected)
inline

Definition at line 84 of file coincontrol.h.

◆ UnSelect()

void CCoinControl::UnSelect ( const COutPoint output)
inline

Definition at line 64 of file coincontrol.h.

Here is the caller graph for this function:

◆ UnSelectAll()

void CCoinControl::UnSelectAll ( )
inline

Definition at line 69 of file coincontrol.h.

Here is the caller graph for this function:

Member Data Documentation

◆ destChange

CTxDestination CCoinControl::destChange

Definition at line 18 of file coincontrol.h.

◆ fAllowOtherInputs

bool CCoinControl::fAllowOtherInputs

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

Definition at line 25 of file coincontrol.h.

◆ fAllowWatchOnly

bool CCoinControl::fAllowWatchOnly

Includes watch only addresses which match the ISMINE_WATCH_SOLVABLE criteria.

Definition at line 27 of file coincontrol.h.

◆ fSplitBlock

bool CCoinControl::fSplitBlock

Definition at line 22 of file coincontrol.h.

◆ nMinimumTotalFee

CAmount CCoinControl::nMinimumTotalFee

Minimum absolute fee (not per kilobyte)

Definition at line 29 of file coincontrol.h.

◆ nSplitBlock

int CCoinControl::nSplitBlock

Definition at line 23 of file coincontrol.h.

◆ receiver

CPubKey CCoinControl::receiver

Definition at line 19 of file coincontrol.h.

◆ setSelected

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

Definition at line 91 of file coincontrol.h.

◆ txPriv

CKey CCoinControl::txPriv

Definition at line 20 of file coincontrol.h.

◆ useSwiftTX

bool CCoinControl::useSwiftTX

Definition at line 21 of file coincontrol.h.


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