From 4f2b53d838ef01acbd2e69751bea0a6b462c26f5 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 13 May 2021 18:30:11 +1000 Subject: [PATCH] Add a constant for this serialization version --- rfcs/0001-messages.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rfcs/0001-messages.md b/rfcs/0001-messages.md index 26e09f2..af0b05f 100644 --- a/rfcs/0001-messages.md +++ b/rfcs/0001-messages.md @@ -78,6 +78,8 @@ enum MsgType { /// The numeric values used to identify the protocol version during serialization. struct MsgVersion(u8); +const BASIC_FROST_SERIALIZATION: MsgVersion = MsgVersion(0); + /// The numeric values used to identify each participant during serialization. struct ParticipantId(u8); ```