HomePhabricator

Add HashWriter without ser-type and ser-version and use it where possible

Description

Add HashWriter without ser-type and ser-version and use it where possible

Summary:

The basic idea is that serialization type should not be initialized when it is not needed. Same for the serialization version.
So do this here for HashWriter. CHashWriter remains in places where it is not yet possible.

Backport of core#25331 and core#28341.

Test Plan:

ninja all check-extended

Reviewers: #bitcoin_abc, roqqit, PiRK

Reviewed By: #bitcoin_abc, roqqit, PiRK

Subscribers: roqqit

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

Details

Provenance
MacroFake <falke.marco@gmail.com>Authored on Jun 10 2022, 08:39
FabienCommitted on Jul 16 2024, 21:15
FabienPushed on Jul 16 2024, 21:15
Reviewer
Restricted Project
Differential Revision
D16472: Add HashWriter without ser-type and ser-version and use it where possible
Parents
rABC7fb78fbe85da: [CI] Update the sha256 sum for the nodejs setup script
Branches
Unknown
Tags
Unknown