Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/coinselection.h
- This file was added.
// Copyright (c) 2017 The Bitcoin Core developers | |||||
// Distributed under the MIT software license, see the accompanying | |||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
#ifndef BITCOIN_COINSELECTION_H | |||||
#define BITCOIN_COINSELECTION_H | |||||
#include <amount.h> | |||||
#include <primitives/transaction.h> | |||||
#include <random.h> | |||||
#include <wallet/wallet.h> | |||||
bool SelectCoinsBnB(std::vector<CInputCoin> &utxo_pool, | |||||
const Amount &target_value, const Amount &cost_of_change, | |||||
std::set<CInputCoin> &out_set, Amount &value_ret, | |||||
Amount not_input_fees); | |||||
#endif // BITCOIN_COINSELECTION_H |