LCOV - code coverage report
Current view: top level - src/wallet - coincontrol.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 17 17 100.0 %
Date: 2020-09-26 01:30:44 Functions: 1 1 100.0 %

          Line data    Source code
       1             : // Copyright (c) 2018-2019 The Bitcoin Core developers
       2             : // Distributed under the MIT software license, see the accompanying
       3             : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
       4             : 
       5             : #include <wallet/coincontrol.h>
       6             : 
       7             : #include <util/system.h>
       8             : 
       9       18324 : void CCoinControl::SetNull()
      10             : {
      11       18324 :     destChange = CNoDestination();
      12       18324 :     m_change_type.reset();
      13       18324 :     m_add_inputs = true;
      14       18324 :     fAllowOtherInputs = false;
      15       18324 :     fAllowWatchOnly = false;
      16       18324 :     m_avoid_partial_spends = gArgs.GetBoolArg("-avoidpartialspends", DEFAULT_AVOIDPARTIALSPENDS);
      17       18324 :     m_avoid_address_reuse = false;
      18       18324 :     setSelected.clear();
      19       18324 :     m_feerate.reset();
      20       18324 :     fOverrideFeeRate = false;
      21       18324 :     m_confirm_target.reset();
      22       18324 :     m_signal_bip125_rbf.reset();
      23       18324 :     m_fee_mode = FeeEstimateMode::UNSET;
      24       18324 :     m_min_depth = DEFAULT_MIN_DEPTH;
      25       18324 :     m_max_depth = DEFAULT_MAX_DEPTH;
      26       18324 : }

Generated by: LCOV version 1.15