pub fn transaction_to_fake_v5(
trans: &Transaction,
network: &Network,
height: Height,
) -> TransactionExpand description
Convert trans into a fake v5 transaction.
Takes the transparent inputs/outputs from trans and builds a new V5
transaction at the given height. Used to test V5 sighash/serialization
with real transparent data from the test vector blocks.