Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LibP2PIdentity ¶
type LibP2PIdentity struct {
PrivateKey p2pCrypto.PrivKey
PublicKey p2pCrypto.PubKey
ID peer.ID
IdentityOption libp2p.Option // Used for host creation using this identity
}
func NewLibP2PIdentityFromEthPrivKey ¶
func NewLibP2PIdentityFromEthPrivKey(ethPrivKey *ecdsa.PrivateKey) (wallet LibP2PIdentity, err error)
Click to show internal directories.
Click to hide internal directories.