In the v0.1.0 post, I mentioned that I'm looking to automate most Lightning node tasks, and routing policies adjustments are clearly one of them. This is why, this release introduces:
- Automatic fees and max HTLCs adjustment. Channels routing policies are modified based on the channel state (capacity, local balance) and the amount of satoshis forwarded in the last activity period. In additon to this, maximum HTLC values are set to 80% of the local balance.
- CLI commands. Agent instructions and scores queries now have their own command to execute them separately, concurrently or in a sequence.
- Built-in tasks scheduling. Choose how often to open/close channels or update routing policies without having to use systemd timers or cron jobs.
- New open heuristic
channels.block_height
. Good channels are typically kept open for longer because they are profitable or useful, take the age of channels into account when choosing peers with this new heuristic. - Dependencies upgrades. All dependencies have been upgraded to their latest version.
Check it out at https://github.com/aftermath2/hydrus/releases/tag/v0.2.0.
Sharing this post or the note on Nostr would be really appreciated!