Anyone using the plugin called
Circular to rebalance channels in Core Lightning v23.0.5??? I think it might be broken after the API changes in Core Lightning.
Wanted to know if anyone can still use this plugin.
I haven't, but from the GitHub description it looks basically identical to the
rebalance plugin. You still need to manually specify input and output channels, for instance.
What's the benefit over
rebalance?
I like it more only in the sense that it shows you a more user-friendly info about what is going on during a rebalance! And from other users, specifically from one of Boltz owner, it seems to do a better job finding routes for our rebalances.
For instance, this is part of the output it shows you from logs while attempting to rebalance:
rebalance.go:57 Run: ===================== ATTEMPT 1 =====================
40516 2023-06-14T05:58:43.347Z DEBUG plugin-circular: params.go:48 validateLiquidityParameters: validating liquidity parameters
40517 2023-06-14T05:58:43.348Z DEBUG plugin-circular: params.go:50 validateLiquidityParameters: refreshing in and out channels
40518 2023-06-14T05:58:43.348Z DEBUG plugin-circular: params.go:75 validateLiquidityParameters: liquidity parameters validated
40519 2023-06-14T05:58:43.349Z DEBUG plugin-circular: route.go:41 tryRoute: generating route
40520 2023-06-14T05:58:43.354Z DEBUG plugin-circular: route.go:19 getRoute: looking for a route from Boltz to SCP-096
40521 2023-06-14T05:58:43.403Z DEBUG plugin-circular: time.go:10 TimeTrack: rebalance.getRoute took 64.837ms
40522 2023-06-14T05:58:43.407Z DEBUG plugin-circular: route.go:53 tryRoute: Route from: Boltz to: SCP-096
40523 2023-06-14T05:58:43.407Z DEBUG plugin-circular: Amount: 300000
40524 2023-06-14T05:58:43.408Z DEBUG plugin-circular: Fee: 2267msat
40525 2023-06-14T05:58:43.408Z DEBUG plugin-circular: Fee PPM: 7
40526 2023-06-14T05:58:43.408Z DEBUG plugin-circular: Hops: 4
40527 2023-06-14T05:58:43.408Z DEBUG plugin-circular: Hop 1: Crypt04n4rkMoV, fee: 0.000, ppm: 0, scid: 778301x567x0, delay: 408
40528 2023-06-14T05:58:43.408Z DEBUG plugin-circular: Hop 2: Boltz, fee: 0.301, ppm: 1, scid: 748535x568x1, delay: 328
40529 2023-06-14T05:58:43.409Z DEBUG plugin-circular: Hop 3: marburg.ddns.net, fee: 0.166, ppm: 0, scid: 774975x2457x1, delay: 288
40530 2023-06-14T05:58:43.409Z DEBUG plugin-circular: Hop 4: SCP-096, fee: 1.800, ppm: 6, scid: 711640x1428x1, delay: 144
The owner did the update to the plugin yesterday and I have already used it! I like this more than the original rebalance!
And I think you can do other things like push and pull liquidity to/from your channels but I never tried it!