Bitcoin Core  0.19.99
P2P Digital Currency
psbtwallet.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2019 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_WALLET_PSBTWALLET_H
6 #define BITCOIN_WALLET_PSBTWALLET_H
7 
8 #include <psbt.h>
9 #include <wallet/wallet.h>
10 
27  bool& complete,
28  int sighash_type = 1 /* SIGHASH_ALL */,
29  bool sign = true,
30  bool bip32derivs = true);
31 
32 #endif // BITCOIN_WALLET_PSBTWALLET_H
A version of CTransaction with the PSBT format.
Definition: psbt.h:388
#define NODISCARD
Definition: attributes.h:18
NODISCARD TransactionError FillPSBT(const CWallet *pwallet, PartiallySignedTransaction &psbtx, bool &complete, int sighash_type=1, bool sign=true, bool bip32derivs=true)
Fills out a PSBT with information from the wallet.
Definition: psbtwallet.cpp:7
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Definition: wallet.h:606
TransactionError
Definition: error.h:22