Updates a PSBTOutput with information from provider.

Synopsis

Declared in <psbt.h>

void
UpdatePSBTOutput(
    SigningProvider const& provider,
    PartiallySignedTransaction& psbt,
    int index);

Description

This fills in the redeem_script, witness_script, and hd_keypaths where possible.

Parameters

Name

Description

provider

The source of scripts and derivation information.

psbt

The PSBT containing the output.

index

The index of the output to update.

Created with MrDocs