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 Thu, Apr 11, 23:51
tobias_ruckPushed on Tue, Apr 16, 23:03
Reviewer
Restricted Project
Differential Revision
D15954: [ecash-lib] Add `SigHashType`
Parents
rABC591fe28e01b2: [avalanche] Cleanup deprecated 'sharing' RPC field
Branches
Unknown
Tags
Unknown