pub const SPEND_DESCRIPTION_SIZE: usize = _ /* 384usize */;Expand description
The size in bytes of a Sapling spend description in its v4 (pre-NU5) serialized form, as
written by the internal write_spend_v4 encoder.
This is the full per-spend cost on the wire in a version 4 transaction: the value
commitment, the anchor, the nullifier, the randomized spending key, the Groth16 proof,
and the spend authorization signature. Version 5 transactions move the proofs and
authorization signatures to bundle-level fields (the v5 spend encoder writes only
cv + nullifier + rk), so this v4 size is the conservative upper bound: dividing a
per-spend byte budget by this constant yields a lower bound on the number of spends
that fit within it.