Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/coincontrol.h
Show All 23 Lines | public: | ||||
//! Override automatic min/max checks on fee, m_feerate must be set if true | //! Override automatic min/max checks on fee, m_feerate must be set if true | ||||
bool fOverrideFeeRate; | bool fOverrideFeeRate; | ||||
//! Override the wallet's m_pay_tx_fee if set | //! Override the wallet's m_pay_tx_fee if set | ||||
boost::optional<CFeeRate> m_feerate; | boost::optional<CFeeRate> m_feerate; | ||||
//! Override the default confirmation target if set | //! Override the default confirmation target if set | ||||
boost::optional<unsigned int> m_confirm_target; | boost::optional<unsigned int> m_confirm_target; | ||||
//! Avoid partial use of funds sent to a given address | //! Avoid partial use of funds sent to a given address | ||||
bool m_avoid_partial_spends; | bool m_avoid_partial_spends; | ||||
//! Forbids inclusion of dirty (previously used) addresses | |||||
bool m_avoid_address_reuse; | |||||
CCoinControl() { SetNull(); } | CCoinControl() { SetNull(); } | ||||
void SetNull(); | void SetNull(); | ||||
bool HasSelected() const { return (setSelected.size() > 0); } | bool HasSelected() const { return (setSelected.size() > 0); } | ||||
bool IsSelected(const COutPoint &output) const { | bool IsSelected(const COutPoint &output) const { | ||||
Show All 18 Lines |