Versions in this module Expand all Collapse all v0 v0.1.0 Oct 27, 2023 Changes in this version + func AccPubKeysFromPartyIDs(partyIDs []string, partyIDMap map[string]*btss.PartyID) ([]string, error) + func BytesToHashString(msg []byte) (string, error) + func CheckKeyOnCurve(pk string) (bool, error) + func GetParties(keys []string, localPartyKey string) ([]*btss.PartyID, *btss.PartyID, error) + func GetPeerIDFromPartyID(partyID *btss.PartyID) (peer.ID, error) + func GetPeerIDFromPubKey(pubkey string) (peer.ID, error) + func GetPeerIDFromSecp256PubKey(pk []byte) (peer.ID, error) + func GetPeerIDs(pubkeys []string) ([]peer.ID, error) + func GetPeerIDsFromPubKeys(pubkeys []string) ([]peer.ID, error) + func GetPeersID(partyIDtoP2PID map[string]peer.ID, localPeerID string) []peer.ID + func GetPreviousKeySignUicast(current string) string + func GetPriKey(priKeyString string) (tcrypto.PrivKey, error) + func GetPriKeyRawBytes(priKey tcrypto.PrivKey) ([]byte, error) + func GetPubKeyFromPeerID(pID string) (string, error) + func GetPubKeysFromPeerIDs(peers []string) ([]string, error) + func GetRandomPeerID() peer.ID + func GetRandomPubKey() string + func GetThreshold(value int) (int, error) + func GetTssPubKey(pubKeyPoint *crypto.ECPoint) (string, types.AccAddress, error) + func PartyIDtoPubKey(party *btss.PartyID) (string, error) + func RandStringBytesMask(n int) string + func SetupBech32Prefix() + func SetupIDMaps(parties map[string]*btss.PartyID, partyIDtoP2PID map[string]peer.ID) error + func SetupPartyIDMap(partiesID []*btss.PartyID) map[string]*btss.PartyID + func VersionLTCheck(currentVer, expectedVer string) (bool, error)