Versions in this module Expand all Collapse all v0 v0.0.7 Sep 22, 2021 Changes in this version + func CreateHostRandom(hostSeq int, ip string, seeds map[peer.ID]ma.Multiaddr, logger api.Logger) (host.Host, peer.ID, ma.Multiaddr, error) + func CreateHostWithCrypto(hostSeq int, ip string, privateKey crypto.PrivateKey, ...) (host.Host, peer.ID, ma.Multiaddr, error) + func MakeTlsConfigAndLoadPeerIdFuncWithPrivateKey(privateKey crypto.PrivateKey) (*tls.Config, types.LoadPeerIdFromTlsCertFunc, error) + func PeerIdFunction() func(certificates []*x509.Certificate) (peer.ID, error) + func PeerIdFunctionGM() func(certificates []*gmx509.Certificate) (peer.ID, error) + func PeerIdFunctionQuic() func(certificates []*qx509.Certificate) (peer.ID, error) + func PrivateKeyToCertificate(privateKey crypto.PrivateKey) (*tls.Certificate, error) + func UseGMTls(tlsCertBytes []byte) (bool, error)