From a7e6856e2eaa52a045c2a51f008a21204a940cdd Mon Sep 17 00:00:00 2001 From: sergeywh1te Date: Wed, 1 Mar 2023 14:20:48 +0400 Subject: [PATCH] LDC-07 Messages May Be Sent to a Single Node --- client/services/node/node_service.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/client/services/node/node_service.go b/client/services/node/node_service.go index 7e0971a3..19499b63 100644 --- a/client/services/node/node_service.go +++ b/client/services/node/node_service.go @@ -539,6 +539,16 @@ func (s *BaseNodeService) reinitDKG(message storage.Message) error { if fsm.Event(msg.Event) == sif.EventSigningStart { break } + + // LDC-07 Messages May Be Sent to a Single Node + // + // If we remove the broadcast and send only individual messages, + // then this behavior will break backward compatibility + // with the log of the previous version of the application. (v0.1.4) + // + // The described case will not lead to a catastrophic scenario, + // maximum inconvenience, and restart of the procedure, + // which is not very scary compared to the loss of compatibility. if msg.RecipientAddr == "" || msg.RecipientAddr == s.GetUsername() { operation, err := s.processMessage(msg) if err != nil {