From 8fcbb44908eafc6636e0221ea5285f13268d08a7 Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Mon, 10 May 2021 11:24:03 -0300 Subject: [PATCH] change Participant to ParticipantID --- rfcs/0001-messages.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rfcs/0001-messages.md b/rfcs/0001-messages.md index c32dc79..b04122e 100644 --- a/rfcs/0001-messages.md +++ b/rfcs/0001-messages.md @@ -35,8 +35,8 @@ struct Message { struct Header { msg_type: MsgType, version: MsgVersion, - sender: Participant, - receiver: Participant, + sender: ParticipantID, + receiver: ParticipantID, } ``` @@ -75,7 +75,7 @@ enum MsgType { struct MsgVersion(u8); -struct Participant(u8); +struct ParticipantID(u8); ``` ### Payloads @@ -124,7 +124,7 @@ struct Commitment { struct MsgSigningPackage { /// The collected commitments for each signer as a hashmap of /// unique participant identifiers - commitments: HashMap, + commitments: HashMap, /// The message to be signed as a vector of bytes message: Vec, } @@ -267,7 +267,7 @@ Bytes | Field name | Data type Bytes | Field name | Data type -----------------------|----------------|----------- 1 | participants | u8 -(1+32+32)*participants | commitments | HashMap +(1+32+32)*participants | commitments | HashMap 8 | message_length | u64 message_length | message | Vec