Versions in this module Expand all Collapse all v0 v0.1.0 Oct 27, 2023 Changes in this version + type Notifier struct + MessageID string + func NewNotifier(messageID string, messages [][]byte, poolPubKey string) (*Notifier, error) + func (n *Notifier) GetResponseChannel() <-chan []*common.ECSignature + func (n *Notifier) ProcessSignature(data []*common.ECSignature) (bool, error) + type Request struct + BlockHeight int64 + Messages []string + PoolPubKey string + SignerPubKeys []string + Version string + func NewRequest(pk string, msgs []string, blockHeight int64, signers []string, version string) Request + type Response struct + Blame blame.Blame + Signatures []Signature + Status common.Status + func NewResponse(signatures []Signature, status common.Status, blame blame.Blame) Response + type Signature struct + Msg string + R string + RecoveryID string + S string + func NewSignature(msg, r, s, recoveryID string) Signature + type SignatureNotifier struct + func NewSignatureNotifier(host host.Host) *SignatureNotifier + func (s *SignatureNotifier) BroadcastFailed(messageID string, peers []peer.ID) error + func (s *SignatureNotifier) BroadcastSignature(messageID string, sig []*tsslibcommon.ECSignature, peers []peer.ID) error + func (s *SignatureNotifier) ReleaseStream(msgID string) + func (s *SignatureNotifier) WaitForSignature(messageID string, message [][]byte, poolPubKey string, timeout time.Duration, ...) ([]*common.ECSignature, error) + type TssKeySign struct + func NewTssKeySign(localP2PID string, conf common.TssConfig, ...) *TssKeySign + func (tKeySign *TssKeySign) GetTssCommonStruct() *common.TssCommon + func (tKeySign *TssKeySign) GetTssKeySignChannels() chan *p2p.Message + func (tKeySign *TssKeySign) SignMessage(msgsToSign [][]byte, localStateItem storage.KeygenLocalState, parties []string) ([]*tsslibcommon.ECSignature, error)