Documentation ¶
Index ¶
- func AccPubKeysFromPartyIDs(partyIDs []string, partyIDMap map[string]*tss.PartyID) ([]string, error)
- func BytesToHashString(msg []byte) (string, error)
- func CheckKeyOnCurve(pk string) (bool, error)
- func GeneratePartyIDtoP2PIDMaps(parties map[string]*tss.PartyID) (map[string]peer.ID, error)
- func GetParties(keys []string, localPartyKey string) ([]*tss.PartyID, *tss.PartyID, error)
- func GetPeerIDFromPartyID(partyID *tss.PartyID) (peer.ID, error)
- func GetPeerIDFromPubKey(pubkey string) (peer.ID, error)
- func GetPeerIDFromSecp256PubKey(pk []byte) (peer.ID, error)
- func GetPeerIDsFromPubKeys(pubkeys []string) ([]peer.ID, error)
- func GetPeersID(partyIDtoP2PID map[string]peer.ID, localPeerID string) []peer.ID
- func GetPubKeyFromPeerID(pID string) (string, error)
- func GetPubKeysFromPeerIDs(peers []string) ([]string, error)
- func GetTssPubKey(pubKeyPoint *crypto.ECPoint) (string, []byte, []byte, error)
- func PartyIDtoPubKey(party *tss.PartyID) (string, error)
- func SetupPartyIDMap(partiesID []*tss.PartyID) map[string]*tss.PartyID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccPubKeysFromPartyIDs ¶
func BytesToHashString ¶
func CheckKeyOnCurve ¶
func GetParties ¶
func GetPubKeyFromPeerID ¶
func GetPubKeysFromPeerIDs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.