2021-12-30 19:36:57 +02:00
|
|
|
// Copyright (c) 2018-2021 The Bitcoin Core developers
|
2018-07-17 14:26:35 +09:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#include <wallet/coincontrol.h>
|
|
|
|
|
2023-03-23 12:23:29 +01:00
|
|
|
#include <common/args.h>
|
2018-07-17 14:26:35 +09:00
|
|
|
|
2021-11-12 11:13:29 -05:00
|
|
|
namespace wallet {
|
2021-04-17 01:49:57 +01:00
|
|
|
CCoinControl::CCoinControl()
|
2018-07-17 14:26:35 +09:00
|
|
|
{
|
|
|
|
m_avoid_partial_spends = gArgs.GetBoolArg("-avoidpartialspends", DEFAULT_AVOIDPARTIALSPENDS);
|
|
|
|
}
|
2021-11-12 11:13:29 -05:00
|
|
|
} // namespace wallet
|