Versions in this module Expand all Collapse all v1 v1.7.8 Aug 21, 2022 v1.7.7 Aug 15, 2022 v1.7.6 Aug 4, 2022 v1.7.4 Aug 4, 2022 v1.7.3 Jul 25, 2022 v1.7.2 Jul 25, 2022 v1.7.1 Jul 25, 2022 v1.7.0 Jun 23, 2022 v1.6.0 Jun 11, 2022 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)