draft-nuttycom-deferred-broadcast-sighash
Sighash Variant for Deferred Broadcast
- Draft
Contents
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
sighashVariantor asighashInfoof 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
nConsensusBranchIdornExpiryHeightchanges, that it changes when any other effecting data changes, and that it differs from the variant 0 digest of the same transaction.
References
Footnotes
-
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" ↩
-
Zcash Protocol Specification, Version 2026.9.1 [NU7] or later ↩
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 3.12: Mainnet and Testnet ↩
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 3.3: The Block Chain ↩
-
ZIP 248: Extensible Transaction Format ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.13: Balance and Binding Signature (Sapling) ↩
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.14: Balance and Binding Signature (Orchard) ↩
-
ZIP 312: FROST for Spend Authorization Multisignatures ↩ ↩2 ↩3
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 7.1.2: Transaction Consensus Rules ↩ ↩2
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.10: SIGHASH Transaction Hashing ↩
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 3.4: Transactions and Treestates ↩
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.18.2: Spend Statement (Sapling) ↩
-
Zcash Protocol Specification, Version 2026.9.1 [NU7]. Section 4.18.4: Action Statement (Orchard) ↩
-
ZIP 312: Specify key generation, change randomizer handling (zcash/zips pull request 895) ↩
-
ZIP 312: Key generation: DKG base point, recovery data, several spends, clarifications (zcash/zips pull request 1459) ↩ ↩2