From 47a7068c85e11ef5eecd144e6b63ef010f3bcd2a Mon Sep 17 00:00:00 2001 From: benjamin <ben@elixxir.io> Date: Sun, 16 Oct 2022 11:12:24 -0700 Subject: [PATCH] updated channel messages proto to include the timestamp --- channels/channelMessages.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/channels/channelMessages.proto b/channels/channelMessages.proto index 548cfc67c..d89337d36 100644 --- a/channels/channelMessages.proto +++ b/channels/channelMessages.proto @@ -36,6 +36,12 @@ message ChannelMessage{ // round with that have the same nickname, payload, and lease will not have // the same message ID. bytes Nonce = 6; + + // LocalTimestamp is the timestamp when the "send call" is made based upon the + // local clock. If this differs by more than 5 seconds +/- from when the round + // it sent on is queued, then a random mutation on the queued time (+/- 200ms) + // will be used by local clients instead + int64 LocalTimestamp = 7; } // UserMessage is a message sent by a user who is a member within the channel. -- GitLab