Documentation
¶
Index ¶
Constants ¶
View Source
const ( KEYGEN1 = "KGRound1Message" KEYGEN2aUnicast = "KGRound2Message1" KEYGEN2b = "KGRound2Message2" KEYGEN3 = "KGRound3Message" KEYSIGN1aUnicast = "SignRound1Message1" KEYSIGN1b = "SignRound1Message2" KEYSIGN2Unicast = "SignRound2Message" KEYSIGN3 = "SignRound3Message" KEYSIGN4 = "SignRound4Message" KEYSIGN5 = "SignRound5Message" KEYSIGN6 = "SignRound6Message" KEYSIGN7 = "SignRound7Message" KEYSIGN8 = "SignRound8Message" KEYSIGN9 = "SignRound9Message" TSSKEYGENROUNDS = 4 TSSKEYSIGNROUNDS = 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastMsgChan ¶
type BroadcastMsgChan struct { WrappedMessage WrappedMessage PeersID []peer.ID }
type TSSMessageTpe ¶
type TSSMessageTpe uint8
const ( TSSKeyGenMsg TSSMessageTpe = iota TSSKeySignMsg TSSTaskDone Unknown )
func (TSSMessageTpe) String ¶
func (msgType TSSMessageTpe) String() string
type TssTaskNotifier ¶
type TssTaskNotifier struct {
TaskDone bool `json:"task_done"`
}
type WireMessage ¶
type WireMessage struct { Routing *tss.MessageRouting `json:"routing"` RoundInfo string `json:"round_info"` Message []byte `json:"message"` Sig []byte `json:"signature"` }
func (*WireMessage) GetCacheKey ¶
func (m *WireMessage) GetCacheKey() string
type WrappedMessage ¶
type WrappedMessage struct { MessageType TSSMessageTpe `json:"message_type"` MsgID string `json:"message_id"` Payload []byte `json:"payload"` }
Click to show internal directories.
Click to hide internal directories.