Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultIP is hte default ip address to use DefaultIP = "127.0.0.1" // DefaultTCP is the default tcp port used in SSV DefaultTCP = 12001 // DefaultUDP is the default udp port used in SSV DefaultUDP = 13001 )
Variables ¶
This section is empty.
Functions ¶
func BuildMultiAddress ¶ added in v0.2.0
BuildMultiAddress creates a multiaddr from the given params
func CheckAddress ¶ added in v0.2.0
CheckAddress checks that some address is accessible and returns error accordingly
func GenNetworkKey ¶ added in v0.2.0
func GenNetworkKey() (*ecdsa.PrivateKey, error)
GenNetworkKey generates a new network key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.