HomePhabricator

streams: Add AutoFile without ser-type and ser-version

Description

streams: Add AutoFile without ser-type and ser-version

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 AutoFile. CAutoFile remains in places where it is not yet possible.

The moved parts can be reviewed with "--color-moved=dimmed-zebra".
The one-char changes can be reviewed with "--word-diff-regex=.".

This is a backport of core#25285

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

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

Details

Provenance
MacroFake <falke.marco@gmail.com>Authored on Jun 6 2022, 15:11
PiRKCommitted on Oct 4 2023, 10:35
PiRKPushed on Oct 4 2023, 10:35
Reviewer
Restricted Project
Differential Revision
D14583: streams: Add AutoFile without ser-type and ser-version
Parents
rABC60349c31247a: [qt] Remove assignment in if statement
Branches
Unknown
Tags
Unknown