Skip to main content

write_v6_bundle

Function write_v6_bundle 

Source
pub fn write_v6_bundle<W: Write>(
    bundle: Option<&Bundle<Authorized, ZatBalance>>,
    writer: W,
) -> Result<()>
Expand description

Writes an [orchard::Bundle] in the v6 transaction format. The bundle’s own [BundleVersion] selects the pool (and hence the flag-byte grammar): the Orchard slot uses [BundleVersion::orchard_v3], the Ironwood slot [BundleVersion::ironwood_v3].