pyre
pyre copied to clipboard
Invalid endpoint
Hi
When application implementing pyre is started while there is no network connection, the beacon values are set to loopback address 127.0.0.1 with no mac address. When ethernet cable is plugged, node connects properly to pyre network (I saw ENTER action on other pyre nodes) but the address of freshly connected node returned by peer_address() function is still 127.0.0.1. It appears hostname is sent only once at node startup but not refreshed later. Can you tell me what is the proper way to implement hostname update (and consequently endpoint value) ?
Thank you very much :smile: