plugins
plugins copied to clipboard
rebalance: sometimes maxfeepercent doesn't affect rebalance fee
I'm not sure how the maxfeepercent is calculated, but does this look correct to you? It's like the system continued to use the old maxfeepercent for short period instead of what's supplied on the command line
x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.005 { "sent": "10004192msat", "received": "10000000msat", "fee": "4192msat", "hops": 4, "outgoing_scid": "611111x2011x0", "incoming_scid": "722222x222x1", "status": "complete", "message": "10004192msat sent over 4 hops to rebalance 10000000msat", "stats": "running_for:6 count_getroute:5 time_getroute:0.05870819091796875 time_getroute_avg:0.01174163818359375 count_sendpay:1 time_sendpay:5.686005115509033 time_sendpay _avg:5.686005115509033" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.001 { "sent": "10004192msat", "received": "10000000msat", "fee": "4192msat", "hops": 4, "outgoing_scid": "611111x2011x0", "incoming_scid": "722222x222x1", "status": "complete", "message": "10004192msat sent over 4 hops to rebalance 10000000msat", "stats": "running_for:6 count_getroute:5 time_getroute:0.05867409706115723 time_getroute_avg:0.011734819412231446 count_sendpay:1 time_sendpay:5.892674207687378 time_sendpa y_avg:5.892674207687378" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.0001 { "sent": "10002282msat", "received": "10000000msat", "fee": "2282msat", "hops": 4, "outgoing_scid": "611111x2011x0", "incoming_scid": "722222x222x1", "status": "complete", "message": "10002282msat sent over 4 hops to rebalance 10000000msat", "stats": "running_for:16 count_getroute:6 time_getroute:0.19614481925964355 time_getroute_avg:0.03269080320994059 count_sendpay:2 time_sendpay:14.806219577789307 time_sendp ay_avg:7.403109788894653" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.00001 { "sent": "10002592msat", "received": "10000000msat", "fee": "2592msat", "hops": 4, "outgoing_scid": "611111x2011x0", "incoming_scid": "722222x222x1", "status": "complete", "message": "10002592msat sent over 4 hops to rebalance 10000000msat", "stats": "running_for:9 count_getroute:7 time_getroute:0.3365306854248047 time_getroute_avg:0.048075812203543525 count_sendpay:3 time_sendpay:8.058941125869751 time_sendpay _avg:2.6863137086232505" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.000001 { "sent": "10002592msat", "received": "10000000msat", "fee": "2592msat", "hops": 4, "outgoing_scid": "611111x2011x0", "incoming_scid": "722222x222x1", "status": "complete", "message": "10002592msat sent over 4 hops to rebalance 10000000msat", "stats": "running_for:10 count_getroute:7 time_getroute:0.33168721199035645 time_getroute_avg:0.04738388742719378 count_sendpay:3 time_sendpay:9.078230619430542 time_sendpa y_avg:3.026076873143514" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.0000001 { "sent": "10002592msat", "received": "10000000msat", "fee": "2592msat", "hops": 4, "outgoing_scid": "611111x2011x0", "incoming_scid": "722222x222x1", "status": "complete", "message": "10002592msat sent over 4 hops to rebalance 10000000msat", "stats": "running_for:9 count_getroute:7 time_getroute:0.33670711517333984 time_getroute_avg:0.04810101645333426 count_sendpay:3 time_sendpay:8.199109554290771 time_sendpay_avg:2.733036518096924" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.00000001 { "status": "exception", "message": "Timeout reached" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.0000001 { "status": "exception", "message": "Timeout reached" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.000001 { "status": "exception", "message": "Timeout reached" } x@linux:~$ lightning-cli rebalance -k outgoing_scid=611111x2011x0 incoming_scid=722222x222x1 msatoshi=10000000 maxfeepercent=0.001 { "status": "exception", "message": "Timeout reached" }
Are you able to rebalance at all? I haven't been able to for ages. Just endless lines of the same routes in the log.