Skip to content

Instantly share code, notes, and snippets.

@alonmuroch
Created April 17, 2023 05:07
Show Gist options
  • Save alonmuroch/b1eba0a3fef366870c021d30593e4ca8 to your computer and use it in GitHub Desktop.
Save alonmuroch/b1eba0a3fef366870c021d30593e4ca8 to your computer and use it in GitHub Desktop.
SignedMessage{
Signers: []types.OperatorID{1, 2, 3, 4},
Signature: []byte{},
Message: Message{
MsgType: RoundChangeMsgType,
Round: 2,
Height: 10,
Identifier: []byte{},
Root: [32]byte{},
DataRound: 1,
RoundChangeJustification: [][]byte{
SignedMessage{
Signers: []types.OperatorID{1},
Signature: []byte{},
Message: Message{
MsgType: PrepareMsgType,
Round: 1,
Height: 10,
Identifier: []byte{},
Root: [32]byte{},
},
}.HashTreeRoot(),
SignedMessage{
Signers: []types.OperatorID{2},
Signature: []byte{},
Message: Message{
MsgType: PrepareMsgType,
Round: 1,
Height: 10,
Identifier: []byte{},
Root: [32]byte{},
},
}.HashTreeRoot(),
SignedMessage{
Signers: []types.OperatorID{3},
Signature: []byte{},
Message: Message{
MsgType: PrepareMsgType,
Round: 1,
Height: 10,
Identifier: []byte{},
Root: [32]byte{},
},
}.HashTreeRoot(),
},
},
FullData: []byte{},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment