Reduces the size of the PSBT by dropping unnecessary non_witness_utxos (i.e. complete previous transactions) from a psbt when all inputs are segwit v1.

Synopsis

Declared in <psbt.h>

void
RemoveUnnecessaryTransactions(PartiallySignedTransaction& psbtx);

Parameters

Name

Description

psbtx

The PSBT to shrink.

Created with MrDocs