Added next fork Haven support

This commit is contained in:
MoneroOcean
2023-08-28 03:37:06 +00:00
parent 82693cbe57
commit 59edc8c114
8 changed files with 523 additions and 68 deletions

View File

@@ -109,6 +109,13 @@ inline bool do_serialize(Archive &ar, bool &v)
ar.serialize_varint(f); \
if (!ar.stream().good()) return false; \
} while(0);
#define VERSION_FIELD(v) \
uint32_t version = v; \
do { \
ar.tag("version"); \
ar.serialize_varint(version); \
if (!ar.stream().good()) return false; \
} while(0);
namespace serialization {
namespace detail