RemoveUnnecessaryTransactions

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

NameDescription
psbtxThe PSBT to shrink.