Page MenuHomePhabricator

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

Authored by PiRK on Oct 3 2023, 12:31.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABCa132cedbc755: 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

Event Timeline

PiRK requested review of this revision.Oct 3 2023, 12:31
bytesofman added a subscriber: bytesofman.

green w/ formatting nit

src/validation.h
1115 ↗(On Diff #42506)

remove unrelated line break

This revision is now accepted and ready to land.Oct 3 2023, 18:33

remove unrelated line break

This revision was landed with ongoing or failed builds.Oct 4 2023, 10:35
This revision was automatically updated to reflect the committed changes.