Introduce SignedSSVMessage, which encapsulates SSVMessage along with a signature and a sender identifier fields.
Changes
New SignedSSVMesage structure in types
Flat encoding for SignedSSVMesage
DecodePubsubMsg now returns a SignedSSVMesage
MsgValidation adapted to receive a SignedSSVMesage instead of a SSVMessage
Note: though SSVMessage is no longer the transmitted message in the network, the Runner still processes the type SSVMessage in the ProcessMessage function.
Overview
Introduce
SignedSSVMessage
, which encapsulatesSSVMessage
along with asignature
and a senderidentifier
fields.Changes
SignedSSVMesage
structure intypes
SignedSSVMesage
DecodePubsubMsg
now returns aSignedSSVMesage
MsgValidation
adapted to receive aSignedSSVMesage
instead of aSSVMessage
Note: though
SSVMessage
is no longer the transmitted message in the network, theRunner
still processes the typeSSVMessage
in theProcessMessage
function.Tests
Note: this is a non-fork version of #345