ShipChain / hydra

Centralized network management for decentralized networks -- helping organize and publish sidechain connection details
https://docs.shipchain.io/docs/validatorGuide.html
Apache License 2.0
8 stars 2 forks source link

Set external_address in config.toml #22

Closed leewardbound closed 5 years ago

leewardbound commented 5 years ago

A node is unlikely to properly peer with all the available hosts unless it specifies it's own external_addr in config.toml -- We've added support in hydra for setting this, but incase anyone is running old software, here is the proper fix:

sed -i -e "/external_address =/ s/= .*/= \"tcp:\/\/$(curl -4 https:\/\/ifconfig.co\/):46656\"/" chaindata/config/config.toml