sipa
commented at 7:14 pm on January 2, 2020:
member
This is a minimal subset of #10785 that still does something.
It adds a new saner serialization macro, which can be used in parallel with the old one. Then the addrdb code is converted to use this new macro.
I’ll add follow-up PRs that add more functionality + converting of other modules as things get merged.
Introduce new serialization macros without casts
This new approach uses a static method which takes the object as
a argument. This has the advantage that its constness can be a
template parameter, allowing a single implementation that sees the
object as const for serialization and non-const for deserialization,
without casts.
More boilerplate is included in the new macro as well.
ca33451535
Convert addrdb/addrman to new serialization9250a087d2
fanquake added the label
Utils/log/libs
on Jan 2, 2020
fanquake added this to the "Blockers" column in a project
fanquake
commented at 0:07 am on January 3, 2020:
member
Concept ACK - thanks for splitting this up. I’ve swapped out #10785 for this PR in the high-prio project.
jamesob
commented at 7:02 pm on January 3, 2020:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me