HomePhabricator

Refactor the whole SIGHASH_FORKID mechanism.

Description

Refactor the whole SIGHASH_FORKID mechanism.

Summary: There was some code repeatition and overall, the structure could be improved.

Test Plan:

make check
../qa/pull-tester/rpc-tests.py -extended

Updated test according to code changes.

Reviewers: freetrader, #bitcoin_abc, kyuupichan

Reviewed By: #bitcoin_abc, kyuupichan

Subscribers: kyuupichan

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

Details

Provenance
deadalnixAuthored on Jul 18 2017, 22:34
deadalnixPushed on Jul 19 2017, 09:59
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABCbfdc41751e50: Remove obsolete dead code.
Branches
Unknown
Tags
Unknown