mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-17 15:22:38 -03:00
c6c3d42a7d
Move non-wallet PSBT code to src/psbt.{h,cpp}, and PSBT wallet code to src/wallet/psbtwallet.{h,cpp}. This commit contains only code movement (and adjustments to includes and Makefile.am.)
14 lines
547 B
C
14 lines
547 B
C
// 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
|