Open weiihann opened 1 week ago
LIbp2p automatically detects when an old nodes come back online but it does take some time. This is probably due to how often the DHT table is refreshed. I would recommend to wait a little while longer.
I want to try this one out, with the first way.
Given the following scenario:
Node A
is a feeder node.Node B
is a regular P2P node.Node A
is online first.Node B
syncs successfully fromNode A
.Node A
goes offline.Node B
no longer syncs fromNode A
.Node A
goes online again.Node B
should automatically detects thatNode A
is online again, and attempts to resync from it.However, that's not the case currently as
Node B
wasn't able to detect thatNode A
is online.Not sure where the root cause is, but have some ideas for solution:
Node A
could notifyNode B
that it is online.