Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/coinselection.h
// Copyright (c) 2017 The Bitcoin Core developers | // Copyright (c) 2017 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. | ||||
#ifndef BITCOIN_WALLET_COINSELECTION_H | #ifndef BITCOIN_WALLET_COINSELECTION_H | ||||
#define BITCOIN_WALLET_COINSELECTION_H | #define BITCOIN_WALLET_COINSELECTION_H | ||||
#include <amount.h> | #include <consensus/amount.h> | ||||
#include <primitives/transaction.h> | #include <primitives/transaction.h> | ||||
#include <random.h> | #include <random.h> | ||||
class CFeeRate; | class CFeeRate; | ||||
//! target minimum change amount | //! target minimum change amount | ||||
static constexpr Amount MIN_CHANGE{COIN / 100}; | static constexpr Amount MIN_CHANGE{COIN / 100}; | ||||
//! final minimum change amount after paying for fees | //! final minimum change amount after paying for fees | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |