Bitcoin Core 31.99.0
P2P Digital Currency
Public Attributes | List of all members
common::PSBTFillOptions Struct Reference

Instructions for how a PSBT should be signed or filled with information. More...

#include <types.h>

Public Attributes

bool sign {true}
 Whether to sign or not. More...
 
std::optional< int > sighash_type {std::nullopt}
 The sighash type to use when signing (if PSBT does not specify). More...
 
bool finalize {true}
 Whether to create the final scriptSig or scriptWitness if possible. More...
 
bool bip32_derivs {true}
 Whether to fill in bip32 derivation information if available. More...
 

Detailed Description

Instructions for how a PSBT should be signed or filled with information.

Definition at line 31 of file types.h.

Member Data Documentation

◆ bip32_derivs

bool common::PSBTFillOptions::bip32_derivs {true}

Whether to fill in bip32 derivation information if available.

Definition at line 50 of file types.h.

◆ finalize

bool common::PSBTFillOptions::finalize {true}

Whether to create the final scriptSig or scriptWitness if possible.

Definition at line 45 of file types.h.

◆ sighash_type

std::optional<int> common::PSBTFillOptions::sighash_type {std::nullopt}

The sighash type to use when signing (if PSBT does not specify).

Definition at line 40 of file types.h.

◆ sign

bool common::PSBTFillOptions::sign {true}

Whether to sign or not.

Definition at line 35 of file types.h.


The documentation for this struct was generated from the following file: