rocket-pool / smartnode

The CLI package for Rocket Pool smart nodes.
GNU General Public License v3.0
149 stars 112 forks source link

Add dynamic settings / resource loading #609

Open jclapis opened 4 months ago

jclapis commented 4 months ago

This allows the Smart Node to load its network settings and resources from disk, rather than hardcoding them directly into the app. Patches and I have been talking about this for a while and better late than never!

Benefits are:

I did my best to port the structure over from HD, but I'd test this all-the-same just to make sure I didn't miss anything. I haven't actually run this build of the SN in a vacuum to make sure all of the template parameters have been updated so pay particular attention to that. Otherwise, enjoy!