diff options
author | fanquake <fanquake@gmail.com> | 2020-01-18 08:27:28 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-01-18 08:59:00 +0800 |
commit | a654626f076a72416a3d354218d7107571d6caaf (patch) | |
tree | d94a98209a4e1a90ea219966bd7f6def81f28c59 /contrib/verifybinaries | |
parent | 0deba680646fc5c2bd4ead59933605970ae80995 (diff) | |
parent | 9b66083788581c264a097e26795561cb3eac455d (diff) |
Merge #17896: Serialization improvements (step 2)
9b66083788581c264a097e26795561cb3eac455d Convert chain to new serialization (Pieter Wuille)
2f1b2f4ed044fe005e5a6c1b55e95822e83c16df Convert VARINT to the formatter/Using approach (Pieter Wuille)
ca62563df341786d1d1809a037d8b592924e78c4 Add a generic approach for (de)serialization of objects using code in other classes (Pieter Wuille)
Pull request description:
This is a second carve-out from #10785.
This introduces a const-correct generic approach for serializing objects using custom serializers (defined separately from the object being serialized), then converts VARINT to use that approach, and then converts chain.h to the new framework (including the new const-correct VARINT macro).
ACKs for top commit:
jamesob:
ACK 9b66083788581c264a097e26795561cb3eac455d ([`jamesob/ackr/17896.1.sipa.serialization_improvemen`](https://github.com/jamesob/bitcoin/tree/ackr/17896.1.sipa.serialization_improvemen))
ryanofsky:
Code review ACK 9b66083788581c264a097e26795561cb3eac455d. Only change since last review is suggested lvalue reference tweak
Tree-SHA512: 2da4af1754699cb223d6beae44c587555e39ef6951448488a04783c92e2dfd4a305934f71cc3a75d06faf6d722723d8cdbd5ccb12039783f8d62039b83987bb8
Diffstat (limited to 'contrib/verifybinaries')
0 files changed, 0 insertions, 0 deletions