Lele asked over 1 year ago

what is the best way to migrate from one node to a new one?

Hello,
I'm migrating to a new node and I'm not sure what's the best way to move all my open channels from one to the other.. I'd prefer not to let my open channels dies as I really enjoyed working with all the people that helped me set them up and would want to keep the sats relationship open and healthy with them.

Any hint would be appreciated.

Cheers

3 Comments

LN+

LN+ Admin wrote over 1 year ago

The only way you can do it is if you use the same seed (and thus pubkey) on the new node and very carefully move over the channel data to the new device (not using the channel backup but the actual files). It's critical that you don't run the two devices at the same time as it would appear as an attack (because states will be out of sync) and channels will be closed.

If you have a different seed (and pubkey), there is no way to move channels over. In this situation the safe thing to do is close the channels cooperatively first, and then reopen the channels to the same nodes on the new node if you can (have enough liquidity). You should also wait for a week or so to do this because the chain is now very busy due to consolidation transactions issued by Binance, so you would be overpaying for the transactions (10+ sat/vB instead of the regular 1 sat/vB).


Lele wrote over 1 year ago

ah! I was guessing why the fees were so high lately! :) that makes perfectly sense

I'm not sure I want to risk my funds with the manual seed moving.. I guess I'll just move the funds from one node to the other and start from scratch on the new one


LN+

LN+ Admin wrote over 1 year ago

I think that’s prudent. 

Please login to post comments.