Last active
February 4, 2022 18:13
-
-
Save jooray/3c43de2531c8782dfe33cf72d06c7cfb to your computer and use it in GitHub Desktop.
Install LND neutrino mainnet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check the most recent LND_TAG at | |
# https://github.com/lightningnetwork/lnd/releases | |
export LND_TAG=1e511be523eb8e97c4e2d9c89a7a263963a3929f | |
# install lnd | |
git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd | |
cd $GOPATH/src/github.com/lightningnetwork/lnd | |
git checkout $LND_TAG | |
# enabling mainnet on neutrino is in main branch since 0.8x, only uncomment for tag <0.8 | |
#git fetch https://github.com/halseth/lnd.git mainnet-neutrino && git cherry-pick dbd3ca7be48027d8eda557e3c22268497ecc6b25 | |
make && make install tags="experimental autopilotrpc chainrpc invoicesrpc routerrpc signrpc walletrpc watchtowerrpc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If your neutrino chain state is corrupted (for example wrong headers), you can reset all neutrino state by removing
and restarting lnd