Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RefreshInfo ¶
type RefreshInfo struct { DeviceNumber int Threshold int // 2/n Total int RoundNumber int // contains filtered or unexported fields }
func NewRefresh ¶
func NewRefresh(deviceNumber, total int, devoteList [2]int, ShareI *big.Int, PublicKey *curves.ECPoint) *RefreshInfo
NewRefresh the process is consistent with dkg
func (*RefreshInfo) DKGStep1 ¶
func (info *RefreshInfo) DKGStep1() (map[int]*tss.Message, error)
DKGStep1
func (*RefreshInfo) DKGStep3 ¶
func (info *RefreshInfo) DKGStep3(msgs []*tss.Message) (*tss.KeyStep3Data, error)
DKGStep3 return new key share information except chaincode
func (*RefreshInfo) Ids ¶
func (info *RefreshInfo) Ids() []int
Click to show internal directories.
Click to hide internal directories.