HomePhabricator

Hash the input of OP_CHECKDATASIG instead of expecting the user to do it.

Description

Hash the input of OP_CHECKDATASIG instead of expecting the user to do it.

Summary:
This is safer

Co-authored-by: Amaury S├ęchet <deadalnix@gmail.com>
Co-authored-by: Jason B. Cox <contact@jasonbcox.com>

Test Plan: Updated tests to reflect the change.

Reviewers: #bitcoin_abc, Mengerian, schancel, jasonbcox

Reviewed By: #bitcoin_abc, Mengerian, schancel, jasonbcox

Subscribers: schancel, Mengerian, teamcity

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

Details

Provenance
deadalnixAuthored on Aug 12 2018, 21:14
deadalnixPushed on Aug 14 2018, 20:10
Reviewer
Restricted Project
Differential Revision
D1646: Hash the input of OP_CHECKDATASIG instead of expecting the user to do it.
Parents
rSTAGING3ac42e84f48b: [qa] make create_confirmed_utxos calculate fees
Branches
Unknown
Tags
Unknown