Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/coincontrol.cpp
// Copyright (c) 2018 The Bitcoin Core developers | // Copyright (c) 2018 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <wallet/coincontrol.h> | #include <wallet/coincontrol.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
void CCoinControl::SetNull() { | void CCoinControl::SetNull() { | ||||
destChange = CNoDestination(); | destChange = CNoDestination(); | ||||
m_change_type.reset(); | m_change_type.reset(); | ||||
fAllowOtherInputs = false; | fAllowOtherInputs = false; | ||||
fAllowWatchOnly = false; | fAllowWatchOnly = false; | ||||
m_avoid_partial_spends = | m_avoid_partial_spends = | ||||
gArgs.GetBoolArg("-avoidpartialspends", DEFAULT_AVOIDPARTIALSPENDS); | gArgs.GetBoolArg("-avoidpartialspends", DEFAULT_AVOIDPARTIALSPENDS); | ||||
m_avoid_address_reuse = false; | |||||
setSelected.clear(); | setSelected.clear(); | ||||
m_feerate.reset(); | m_feerate.reset(); | ||||
fOverrideFeeRate = false; | fOverrideFeeRate = false; | ||||
m_confirm_target.reset(); | m_confirm_target.reset(); | ||||
} | } |