Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Response ¶
type Response struct { SignatureData *common2.SignatureData `json:"signature_data"` Status common.Status `json:"status"` FailReason string `json:"failReason"` Culprits []string `json:"culprits"` }
func NewResponse ¶
type TssKeySign ¶
type TssKeySign struct {
// contains filtered or unexported fields
}
func NewTssKeySign ¶
func NewTssKeySign(localP2PID string, conf common2.TssConfig, broadcastChan chan *messages.BroadcastMsgChan, stopChan chan struct{}, msgID string, privKey *ecdsa.PrivateKey, p2pComm *p2p.Communication, stateManager storage.LocalStateManager, thresHold int) *TssKeySign
func (*TssKeySign) GetTssCommonStruct ¶
func (tKeySign *TssKeySign) GetTssCommonStruct() *common2.TssCommon
func (*TssKeySign) GetTssKeySignChannels ¶
func (tKeySign *TssKeySign) GetTssKeySignChannels() chan *p2p.Message
func (*TssKeySign) SignMessage ¶
func (tKeySign *TssKeySign) SignMessage(msgToSign []byte, localStateItem storage.KeygenLocalState, parties []string) (*tsscommon.SignatureData, error)
signMessage
Click to show internal directories.
Click to hide internal directories.