Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMultiAddr ¶
GetMultiAddr converts single Cosmos-style network address into Multiaddr. Input format: [protocol://][<NODE_ID>@]<IPv4>:<PORT>
func GetNodeConfig ¶
func GetNodeConfig(nodeConf *config.NodeConfig, tmConf *tmcfg.Config)
GetNodeConfig translates Tendermint's configuration into Dymint configuration.
This method only translates configuration, and doesn't verify it. If some option is missing in Tendermint's config, it's skipped during translation.
func GetNodeKey ¶
GetNodeKey creates libp2p private key from Tendermints NodeKey.
func TranslateAddresses ¶
func TranslateAddresses(conf *config.NodeConfig) error
TranslateAddresses updates conf by changing Cosmos-style addresses to Multiaddr format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.