HomePhabricator

[ecash-lib] Add `SigHashType`

Description

[ecash-lib] Add SigHashType

Summary: SigHashType is a class that represents all possible sighash types that can be used to sign a tx input, for both legacy (before UAHF) and BIP143 signatures.

Test Plan: npm run test && npm run build

Reviewers: bytesofman, #bitcoin_abc, PiRK

Reviewed By: bytesofman, #bitcoin_abc, PiRK

Subscribers: PiRK

Differential Revision: https://reviews.bitcoinabc.org/D15954

Details

Provenance
tobias_ruckAuthored on Apr 11 2024, 23:51
tobias_ruckPushed on Apr 16 2024, 23:03
Reviewer
Restricted Project
Differential Revision
D15954: [ecash-lib] Add `SigHashType`
Parents
rABC591fe28e01b2: [avalanche] Cleanup deprecated 'sharing' RPC field
Branches
Unknown
Tags
Unknown