Page MenuHomePhabricator

Use spans of std::byte in serialize
ClosedPublic

Authored by PiRK on Apr 10 2024, 15:05.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC16755cd2a145: Use spans of std::byte in serialize
Summary

This switches .read() and .write() to take spans of bytes.

This is a backport of core#23438
https://github.com/bitcoin/bitcoin/pull/23438/commits/fa24493d6394b3a477535f480664c9596f18e3c5

Depends ib D15934

Test Plan

ninja all check-all bitcoin-fuzzers bench-bitcoin

Run the seeder for a few minutes, make sure it finds nodes

Event Timeline

PiRK requested review of this revision.Apr 10 2024, 15:05
PiRK edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Apr 11 2024, 09:42
This revision was automatically updated to reflect the committed changes.