Bitcoin Core
0.19.99
P2P Digital Currency
src
wallet
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
25
NODISCARD
TransactionError
FillPSBT
(
const
CWallet
* pwallet,
26
PartiallySignedTransaction
& psbtx,
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
wallet.h
PartiallySignedTransaction
A version of CTransaction with the PSBT format.
Definition:
psbt.h:388
NODISCARD
#define NODISCARD
Definition:
attributes.h:18
FillPSBT
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
CWallet
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Definition:
wallet.h:606
TransactionError
TransactionError
Definition:
error.h:22
Generated on Mon Mar 9 2020 20:03:28 for Bitcoin Core by
1.8.13