End-user nodes usually check it 3-4 times a day, so the idea is to have node spinning up just once the user comes online to use the node.
Optimization was done on start-up, spinning up in 1s, connecting to peers in a couple and be ready in a short amount of time.
Always-on is an illusion.
Login to reply
Replies (1)
Core-lightning architecture:
- Main daemon: lightningd
- Sub-daemons: hsmd, gossipd, connectd, etc.
- Plugins: arbitrary scripts to customize the node.
This follows UNIX philosophy: "Do one thing and do it well".