aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/coinselection.h
blob: a98f1cc7c1b0b015ae87d3c8d1d10b494fb90f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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