Add a constant for this serialization version

This commit is contained in:
teor 2021-05-13 18:30:11 +10:00 committed by Deirdre Connolly
parent 0e77df1e40
commit 4f2b53d838
1 changed files with 2 additions and 0 deletions

View File

@ -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);
```