4

I am in the process of migrating my LNP/BP stack from a Windows laptop to a dedicated myNodeBTC (RaspPi) device. My node on the Windows laptop was installed using Node Launcher.

I already have the new Bitcoin node running, but I haven't setup LND yet on the new device. I do have 3 Lightning channels open on the old device.

What's the current best practice for moving from the old node to the new node so that I don't lose any sats in the process?

I suppose I could just close all my channels and then move my sats to a different wallet, spin up the new node and re-establish my channels. But I'm not sure if that's the most network-friendly approach?

Thanks!

1

This sounds like the age old proverb of "Good, Cheap or Fast - Pick Two"

I like your original suggestion, but you do have options:

  1. Close all channels, wait an hour, then restore the new lnd node w/ your mnemonic seed and password.
  2. Close all channels, wait an hour, send an on-chain transaction from your original lnd node to the new lnd node.
  3. Dont close anything, save your static-channel-backups file, restore with the static channel backup/mnemonic seed and password and wait patiently for multiple days for the funds to be recovered due to force closes (Please don't do it like this)

There are other creative ways to do this (opening new channels on the new lnd node and transferring the funds through invoices or something), but i've stuck to simple examples here.

To move to a new node, we'll have to take your channels offline (not network friendly). We'll have to take them offline, close them, and then reopen them on the new node, so your best bet is to use the option that you are comfortable with.

Closing your channels, then on-chain transaction to the new node may cost more sats due to transaction fees, but it is an easy and fool-proof way to migrate your node.

  • Thanks Danny, I'm not sure how familiar you are with Node Launcher, so maybe this follow-up is out of scope, but, do you know where the BTC that is locked up in channels will go back to once I close the channels? The Node Launcher GitHub (and related links) don't really talk about any Wallet specifically. So I'm hesitant to close channels. Don't want to nuke my BTC! – statusquont Nov 6 '19 at 21:51
  • BTC in channels will go to the btc wallet that is created in LND. – dannypaz Nov 6 '19 at 22:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.