aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/psbtwallet.h
blob: 4f888a06ec63b2226fe86a792218b8e5c0b5e568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2009-2018 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_WALLET_PSBTWALLET_H
#define BITCOIN_WALLET_PSBTWALLET_H

#include <psbt.h>
#include <primitives/transaction.h>
#include <wallet/wallet.h>

bool FillPSBT(const CWallet* pwallet, PartiallySignedTransaction& psbtx, int sighash_type = 1 /* SIGHASH_ALL */, bool sign = true, bool bip32derivs = false);

#endif // BITCOIN_WALLET_PSBTWALLET_H