HomePhabricator

Make CHash256 and CHash160 consume Spans

Description

Make CHash256 and CHash160 consume Spans

Summary:
Partial backport (5/8) of core PR19326:
https://github.com/bitcoin/bitcoin/pull/19326/commits/e549bf8a9afae42fcda805e216a1cde62df195a6

The segwit related parts have been skipped.

Depends on D9150.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Jun 18 2020, 23:32
FabienCommitted on Feb 4 2021, 08:51
FabienPushed on Feb 4 2021, 08:53
Reviewer
Restricted Project
Differential Revision
D9151: Make CHash256 and CHash160 consume Spans
Parents
rABCc34f1d4c2f83: Make script/standard's BaseHash Span-convertible
Branches
Unknown
Tags
Unknown