curly60e/pyblock

Circular Rebalance ans Show Channels Score

SatoshiNakamotoBitcoin opened this issue · 0 comments

100%
|—————————|
50%
|———— . ————|

Menu
Circular Rebalance

Select Peer
https://github.com/curly60e/rebalance-lnd
getchaninfo Get the state of a channel.
Show in Ascii

As an example the following indicates a channel with around 17.7% of the funds on the local side:

(23) Channel ID: 123[...]456
Pubkey: 012345[...]abcdef
Local ratio: 0.176
Capacity: 5,000,000
Remote balance: 4,110,320
Local balance: 883,364
Amount for 50-50: 1,613,478
|===== |

By sending 1,613,478 satoshis to yourself using this channel, a ratio of 50% can be achieved. This number is shown as "Amount for 50-50".