Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.
This repository was archived by the owner on Feb 23, 2022. It is now read-only.

SigHash changes seem not needed to me. #6

Description

@zander

The CHIP includes a suggestion for a new sighash (0x04) detached.

This looks unneeded to me because a) we already have ForkID and b) the signature being detached is really already signalled by the fact that the push is too short to be a signature.

The adding of this SigHash also doesn't make much sense because it doesn't change the way the signature hash is calculated. So I don't think it belongs.

I don't know if the sighash makes most sense on the signature (in the detached-signatures area of the tx) or in the proof. Initially I would say it belongs in the detached-signatures area. Essentially following current practice of having the siganture-push include (in the same stack-unit) the sighash.

If you have a reason to move it to the proof instead, would be good to mention why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions