Skip to content

sling: update to v4.0.0 #688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

daywalker90
Copy link
Contributor

@daywalker90 daywalker90 commented Jul 28, 2025

[4.0.0] - 2025-07-28

Removed

  • Dropped support for CLN <= v24.02, upgrade your node!
  • ⚠️ Make sure to comment out any removed options in your config
  • sling-refresh-peers-interval: Lowering it from the default 1 doesn't help much and if you must set it higher your node is probably too slow anyways
  • sling-refresh-gossmap-interval: Gossip reader is so fast now there is no good reason to keep it

Added

  • sling-once: New command to rebalance a specific amount once
  • sling-stats: Added human readable table view for when you provide a ShortChannelId, json flag can still be set
  • Sling now also periodically reads constraint information from the xpay layer in CLN >= v24.11

Changed

  • Optimized gossip file reader to be ~20x faster with similar memory usage. On my system it can read a fully synced gossip file in ~110ms and periodical checks for updates are now instant: ~0ms.
  • Optimized route search to be ~2x faster, on my system down from ~25ms to ~13ms.
  • Make use of the new trace level logging, some debug logs are now trace
  • If possible show node alias in failure log message instead of id
  • sling-reset-liquidity-interval: Default value increased to 360m again, if liquidity beliefs are forgotten too quickly it may result in an infinite loop of trying the very cheapest, never succeeding paths
  • Slightly increased the minimum channel cost in pathfinding
  • Use actual default options so they show up in CLN's listconfigs
  • Refactor to show method usage in CLN's help
  • switch from jemalloc to mimalloc for compatibility on systems using page sizes >4k

Fixed

  • You can no longer add your own channels or your own node id to exceptions, for candidate control use candidatelist/outppm
  • Jobstates are now sorted properly in the stats view

[3.0.6] - 2025-05-03

Fixed

  • no longer require scid aliases for private channels during route calculation aswell

[3.0.5] - 2025-05-01

Changed

  • no longer require scid aliases for private channels

[3.0.4] - 2025-04-29

Added

  • more debug logging for candidates selection

Changed

  • only add private channels to graph if they have an alias, remove private channels without an alias
  • lower log level to debug for repetitive graph refresh lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant