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"` BlockHeight int64 `json:"block_height"` Version string `json:"tss_version"` }
Request request to do keygen
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.