akashgoswami / ipm

IOTA node peer manager. Useful for monitoring IOTA peers
MIT License
72 stars 24 forks source link

Make neighbors persistent #11

Closed yet-another-account closed 6 years ago

yet-another-account commented 6 years ago

Maybe save nodes to file and on startup, call addNeighbor for each?

brunoamancio commented 6 years ago

I would add them to the --config file.ini That would be awesome

akashgoswami commented 6 years ago

I can understand the usability of this but it violates the design principle. The config.ini is usually read only and should be modified only by the IRI or the user. The right thing to do is to add a new feature request with IRI which updates config.ini in case of peer update request via API.

IOTA-PM will only manage its own config file at the moment.