Skip to content

Update the Authorizing Data Commitment for the sighashInfo changes to the tx format. #1070

Description

@arya2

It is not specified how SighashInfo is incorporated into the digests.
I think we only need to update auth_digest and specifically:

  • transparent_scripts_digest
  • spend_auth_sigs (A.2b) in sapling_auth_digest
  • binding_sig (A.2d) in sapling_auth_digest
  • bindingSigOrchard (A.3b) in orchard_auth_digest
  • spendAuthSigsOrchard (A.3a.ii) in orchard_auth_digest
  • issueAuthSig (A.4a) in issuance_auth_digest

For each of these signatures, the signature should be replaced by (SighashInfo || signature) where SighashInfo = sighash_version || associated_data.

Originally posted by @ConstanceBeguier in #1056 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions