if I got custom Node and Alice has 3btc and bob got 0btc and bob got 0btc with Tom 1 btc. Is it possible we can change channel for Alice 3btc with Tom 1 btc. And close Tom. And it doesn’t go to on-chain btc. Does it possible Only swap this in off-Chain my node?
1 Answer
If initially the channels from Alice, Bob and Tom came from the same channel factory (we do not have channelfactories as part of lightning as they would be much easier to build on eltoo channels) then I guess Bob could easily be removed off-chain to have a new channel just between Alice and Tom. As with current lightning network I think we have to hit the chain to achieve what you want
-
So the action will be 1. Remove Bob from this node (This will commit to on-chain btc). And move Tom to bob channel. For this one should I create new channel or got any function can do off-chain?– jktJun 13, 2021 at 8:56
-
right now you would close the two channels (the alice-(3)----(0)-bob channel and the bob-(0)-----(1)-tom channel and then open a newly dual funded alice-(3)-----(1)-tom channel Jun 13, 2021 at 10:31