Skip to content
zips.tools

draft-nuttycom-deferred-broadcast-sighash

Sighash Variant for Deferred Broadcast

  • Draft
Proposal metadata
ID
draft-nuttycom-deferred-broadcast-sighash
Status
Draft
Category
Consensus / Wallet
Created
2026-11-19
License
MIT
Contents
  1. Open issues
  2. References
  3. Footnotes

Open issues

  • Transparent-only transactions. Should every v7 transaction be required to contain at least one variant 0 signature? That rule would make every v7 transaction identifier non-malleable by parties without key material. It would also prevent deferred broadcast of a transaction that has a single signer and no shielded bundle. A narrower alternative defines variant 1 for transparent inputs only in transactions that contain a shielded bundle.
  • Rejection of undefined variants. ZIP 248 describes the set of sighash variants as closed, but states no consensus rule that rejects an undefined sighashVariant or a sighashInfo of the wrong length. This ZIP states that rule for the signatures that it covers. The general rule belongs in ZIP 248.
  • Variant registry. ZIP 248 has no registry for sighash variants. The number 1 is provisional until the ZIP Editors confirm it.
  • Choice of transaction format. ZIP 248 recommends that a wallet use the oldest transaction format that supports the features a transaction requires. Until v7 transactions are common, the use of the v7 format together with variant 1 can therefore suggest deferred broadcast.
  • Partially created transactions. ZIP 374 19 needs fields that record the sighash variant of each signature, and needs to say which role sets the consensus branch ID and the expiry height.
  • Threshold signing. ZIP 312 defines the message of a signing session as the SIGHASH transaction hash. 11 For a v7 transaction it needs to say that the message is the digest for the sighash variant of the signature, and that each participant checks which variant it is asked to sign. Its proposed revision says that the sessions of one transaction sign the same message. 21 That does not hold for a v7 transaction, because ZIP 248 puts the index of the spend in each digest. Its threat model needs to say that an approval made with variant 1 has no time limit, and which parties can complete the transaction. It is open whether a participant could check the values that it authorizes without the openings of the value commitments, so that only the Coordinator could complete the transaction.
  • Test vectors. Test vectors for the variant 1 signature digest are needed. They should show that the digest is unchanged when nConsensusBranchId or nExpiryHeight changes, that it changes when any other effecting data changes, and that it differs from the variant 0 digest of the same transaction.

References

Footnotes

  1. Information on BCP 14 — "RFC 2119: Key words for use in RFCs to Indicate Requirement Levels" and "RFC 8174: Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words" ↩

  2. Zcash Protocol Specification, Version 2026.9.1 [NU7] or later ↩

  3. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 3.12: Mainnet and Testnet ↩

  4. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 3.3: The Block Chain ↩

  5. ZIP 200: Network Upgrade Mechanism ↩ ↩2 ↩3

  6. ZIP 248: Extensible Transaction Format ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14

  7. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.13: Balance and Binding Signature (Sapling) ↩

  8. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.14: Balance and Binding Signature (Orchard) ↩

  9. ZIP 244: Transaction Identifier Non-Malleability ↩ ↩2

  10. ZIP 229: Version 6 Transaction Format ↩ ↩2

  11. ZIP 312: FROST for Spend Authorization Multisignatures ↩ ↩2 ↩3

  12. ZIP 318: Orchard to Ironwood Migration ↩ ↩2 ↩3

  13. ZIP 203: Transaction Expiry ↩ ↩2 ↩3

  14. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 7.1.2: Transaction Consensus Rules ↩ ↩2

  15. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.10: SIGHASH Transaction Hashing ↩

  16. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 3.4: Transactions and Treestates ↩

  17. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.18.2: Spend Statement (Sapling) ↩

  18. Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.18.4: Action Statement (Orchard) ↩

  19. ZIP 374: Partially Created Zcash Transaction Format ↩ ↩2

  20. ZIP 312: Specify key generation, change randomizer handling (zcash/zips pull request 895) ↩

  21. ZIP 312: Key generation: DKG base point, recovery data, several spends, clarifications (zcash/zips pull request 1459) ↩ ↩2