update serialization
This commit is contained in:
parent
fc340edc28
commit
798d0ef7ea
|
@ -246,11 +246,12 @@ Payload part of the message is variable in size and depends on message type.
|
||||||
|
|
||||||
#### `MsgDealerBroadcast`
|
#### `MsgDealerBroadcast`
|
||||||
|
|
||||||
Bytes | Field name | Data type
|
Bytes | Field name | Data type
|
||||||
-------|-------------|-----------
|
----------------|------------------|-----------
|
||||||
32 | secret_key | Scalar
|
32 | secret_share | Scalar
|
||||||
32 | commitments | AffinePoint
|
1 | participants | u8
|
||||||
32+32 | group_public| GroupPublic
|
32*participants | share_commitment | Vec<AffinePoint>
|
||||||
|
32 | group_public | AffinePoint
|
||||||
|
|
||||||
#### `MsgCommitments`
|
#### `MsgCommitments`
|
||||||
|
|
||||||
|
@ -260,12 +261,12 @@ Bytes | Field name | Data type
|
||||||
|
|
||||||
#### `MsgSigningPackage`
|
#### `MsgSigningPackage`
|
||||||
|
|
||||||
Bytes | Field name | Data type
|
Bytes | Field name | Data type
|
||||||
-----------------------|----------------|-----------
|
-----------------------|--------------------|-----------
|
||||||
1 | participants | u8
|
1 | participants | u8
|
||||||
(1+32+32)*participants | commitments | HashMap<ParticipantID, Commitment>
|
(1+32+32)*participants | signing_commitments| HashMap<ParticipantID, SigningCommitments>
|
||||||
8 | message_length | u64
|
8 | message_length | u64
|
||||||
message_length | message | Vec<u8>
|
message_length | message | Vec<u8>
|
||||||
|
|
||||||
#### `SignatureShare`
|
#### `SignatureShare`
|
||||||
|
|
||||||
|
@ -277,7 +278,8 @@ Bytes | Field name | Data type
|
||||||
|
|
||||||
Bytes | Field name | Data type
|
Bytes | Field name | Data type
|
||||||
------|------------------|-----------
|
------|------------------|-----------
|
||||||
32+32 | final_signature | FinalSignature
|
32 | group_commitment | group_commitment
|
||||||
|
32 | schnorr_signature| Scalar
|
||||||
|
|
||||||
## Not included
|
## Not included
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue