pub fn write_v5_bundle<W: Write>(
bundle: Option<&Bundle<Authorized, ZatBalance>>,
writer: W,
) -> Result<()>Expand description
Writes an [orchard::Bundle] in the v5 transaction format.
The Orchard flag byte is encoded under the bundle’s own [BundleVersion]; an Orchard bundle
never sets the cross-address bit, so its byte is always valid for the v5 format.