Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountV1 ¶ added in v0.7.3
AccountV1 is a type alias for the AccountV1 struct in the base package.
type EncKeyshareSet ¶ added in v0.7.3
type EncKeyshareSet = v1types.EncKeyshareSet
EncKeyshareSet is a type alias for the EncKeyshareSet struct in the v1types package.
type KeyShareCollection ¶ added in v0.7.3
type KeyShareCollection = v0types.KeyShareCollection
KeyShareCollection is a type alias for the KeyShareCollection struct in the v0types package.
func GenerateV0 ¶ added in v0.7.3
GenerateV0 generates a collection of key shares with a given prefix, count, and coin type.
type KeyshareSet ¶ added in v0.7.3
type KeyshareSet = v1types.KeyshareSet
KeyshareSet is a type alias for the KeyshareSet struct in the v1types package.
func GenerateV2 ¶ added in v0.7.3
GenerateV2 generates a new account with a given ID.
func KeygenV1 ¶ added in v0.7.3
func KeygenV1() (KeyshareSet, error)
KeygenV1 generates a keyshare set.
func NewKSS ¶ added in v0.7.3
func NewKSS(pub *KeyshareV1, priv *KeyshareV1) KeyshareSet
NewKSS creates a new keyshare set from a list of keyshares.
type KeyshareV0 ¶ added in v0.7.3
KeyshareV0 is a type alias for the Keyshare struct in the v0types package.
type KeyshareV1 ¶ added in v0.7.3
KeyshareV1 is a type alias for the Keyshare struct in the v1types package.