⚡
Lightning Node Management
🇺🇸 English
🇺🇸 English
  • Contents
  • Lightning basics
  • Create inbound liquidity
  • Create outbound liquidity
  • Comparison table of software implementations
  • Comparison table of lightning channel markets
  • Node Types
    • Merchant
    • Spending
    • Routing
  • Advanced Tools
    • lnd.conf example
    • Advanced and automated fee settings
    • Set up an LND watchtower and connect a client
    • Methods to create a balanced channel with a trusted peer
    • Pool usage notes
    • Bos Score
  • Technicals
    • Connecting to a lightning node remotely
    • High onchain fee environment
    • Compact the LND database (channel.db)
    • Manage the LND onchain funds in Electrum Wallet
  • Recovery
    • Resources for LND
    • Resources for Core Lightning
  • Privacy
    • Resources on Lightning privacy
    • VPN tunnels
  • Hardware deployment
    • Hardware recommendations
    • RaspiBolt
    • RaspiBlitz
      • charge-lnd
      • Balance of Satoshis Telegram Bot
      • LND updates
      • Bitcoin Core updates
      • VPN and firewall setup
    • TrueNAS (FreeBSD) node
      • aliases
      • Balance of Satoshis
      • Lightning Terminal
      • Circuitbreaker
      • LNtop
      • LND notes
      • stream-lnd-htlcs
      • Suez
      • Tailscale
      • Connect Zeus
  • Donate
    • Donations
Powered by GitBook
On this page
  • Update
  • Check the size of the channel.db
  • Autounlock

Was this helpful?

Edit on GitHub
  1. Hardware deployment
  2. TrueNAS (FreeBSD) node

LND notes

Update

VERSION="v0.16.4-beta"
cd ~
wget https://github.com/lightningnetwork/lnd/releases/download/$VERSION/lnd-freebsd-amd64-$VERSION.tar.gz

# verify
curl https://raw.githubusercontent.com/lightningnetwork/lnd/master/scripts/keys/roasbeef.asc | gpg --import
wget https://github.com/lightningnetwork/lnd/releases/download/$VERSION/manifest-$VERSION.txt
wget https://github.com/lightningnetwork/lnd/releases/download/$VERSION/manifest-roasbeef-$VERSION.sig
gpg --verify manifest-roasbeef-$VERSION.sig manifest-$VERSION.txt
shasum -c manifest-$VERSION.txt --ignore-missing

tar -xvf lnd-freebsd-amd64*

service lnd stop
install -m 0755 -o root -g wheel ~/lnd-freebsd-amd64*/* /usr/local/bin
rm -r lnd-freebsd-amd64*

# test
lnd --configfile=/usr/local/etc/lnd.conf
# or to run with the lnd user
su -m lnd -c 'lnd --configfile=/usr/local/etc/lnd.conf'

# start service
service lnd start

# logs
tail -f /var/db/lnd/logs/bitcoin/mainnet/lnd.log

Check the size of the channel.db

ls -hl /var/db/lnd/data/graph/mainnet/channel.db

Autounlock

https://github.com/lightningnetwork/lnd/blob/master/docs/wallet.md

PreviousLNtopNextstream-lnd-htlcs

Last updated 1 year ago

Was this helpful?