mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-23 22:54:19 +01:00
add bitcoin install
This commit is contained in:
@@ -10,6 +10,7 @@ echo "Paste the latest or desired commit ID to checkout from"
|
||||
echo "See the list at: https://github.com/lightningnetwork/lnd/commits/master"
|
||||
echo "Example:"
|
||||
echo "4068e78af690f9b4a598de1f3f0b21b5560dd146"
|
||||
echo "(if left empty will use the latest state of the master branch)"
|
||||
echo "and press ENTER"
|
||||
read commit
|
||||
# commit="580509191007617afa6da4b6b0151b4b5313eb72"
|
||||
@@ -29,6 +30,7 @@ echo "Deleting old source..."
|
||||
sudo rm -r /usr/local/gocode/src/github.com/lightningnetwork/lnd
|
||||
go get -d $repo
|
||||
|
||||
echo "Building LND..."
|
||||
cd $GOPATH/src/${repo}
|
||||
sudo git checkout ${commit}
|
||||
make && make install
|
||||
|
||||
Reference in New Issue
Block a user