Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
Keys []string `json:"keys"`
}
Request request to do keygen
func NewRequest ¶
NewRequest creeate a new instance of keygen.Request
type Response ¶
type Response struct { PubKey string `json:"pub_key"` PoolAddress string `json:"pool_address"` Status common.Status `json:"status"` Blame blame.Blame `json:"blame"` }
Response keygen response
type TssKeyGen ¶
type TssKeyGen struct {
// contains filtered or unexported fields
}
func NewTssKeyGen ¶
func NewTssKeyGen(localP2PID string, conf common.TssConfig, localNodePubKey string, broadcastChan chan *messages.BroadcastMsgChan, stopChan chan struct{}, preParam *bkg.LocalPreParams, msgID string, stateManager storage.LocalStateManager, privateKey tcrypto.PrivKey, p2pComm *p2p.Communication) *TssKeyGen
func (*TssKeyGen) GenerateNewKey ¶
func (*TssKeyGen) GetTssCommonStruct ¶
func (*TssKeyGen) GetTssKeyGenChannels ¶
Click to show internal directories.
Click to hide internal directories.