mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
19c562f800
quorum_vote_t's were serialized as blob data, which is highly non-portable (probably isn't the same on non-amd64 arches) and broke between 5.x and 6.x because `signature` is aligned now (which changed its offset and thus broke 5.x <-> 6.x vote transmission). This adds a hack to write votes into a block of memory compatible with AMD64 5.x nodes up until HF14, then switches to a new command that fully serializes starting at the hard fork (after which we can remove the backwards compatibility stuff added here). |
||
---|---|---|
.. | ||
enableable.h | ||
keyvalue_serialization.h | ||
keyvalue_serialization_overloads.h | ||
serialize_base.h |