debug net - last seen nodes - remove

+2 votes
Follow up question ...This question comes from the related question...

How long until they disapear? I have last seen nodes for over 7000hrs. we have a huge blockchain (over 1,6millon blocks in 9/10 months) and it will keep increasing.

When sycning from scratch it wastes a huge amount of time trying to connect to these "dead" nodes. There should be a way to manully maintain these IPs.

Where are they stored?

There should be also a runtime parameter or a switch in the params.dat to manually maintain dnsseeds.

related to an answer for: Connection not established
asked Sep 17, 2018 by Fer

1 Answer

0 votes

Here's a trick that should work: stop the node, then delete the peers.dat file in the blockchain directory, then restart the node point it to another peer. This should forget all historical peers, but please make a backup before trying this, since it's not a supported operation.

answered Sep 17, 2018 by MultiChain