Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
Request request to do keygen
func NewRequest ¶
NewRequest creeate a new instance of keygen.Request
func (*Request) RequestToMsgId ¶
type Response ¶
type Response struct { PubKey *ecdsa.PublicKey `json:"pub_key"` PoolAddress string `json:"pool_address"` LocalState *storage.KeygenLocalState `json:"local_state"` //Status conversion.Status `json:"status"` Blame *blame.Blame `json:"blame"` }
Response keygen response
func NewResponse ¶
func NewResponse(pk *ecdsa.PublicKey, addr string, state *storage.KeygenLocalState, blame *blame.Blame) *Response
NewResponse create a new instance of keygen.Response
Click to show internal directories.
Click to hide internal directories.