16 lines
586 B
C
16 lines
586 B
C
|
// 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 CAmount& target_value, const CAmount& cost_of_change, std::set<CInputCoin>& out_set, CAmount& value_ret, CAmount not_input_fees);
|
||
|
|
||
|
#endif // BITCOIN_COINSELECTION_H
|