https://github.com/gkucmierz/bitcoin-lnd
https://github.com/gkucmierz/bitcoin-lnd
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gkucmierz/bitcoin-lnd
- Owner: gkucmierz
- Created: 2019-06-25T08:32:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T09:55:27.000Z (almost 6 years ago)
- Last Synced: 2025-01-16T08:15:58.079Z (5 months ago)
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bitcoin-lnd
## install bitcoind
```
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoin-qt bitcoind
```## config bitcoin
```
apt-get install nano
mkdir .bitcoin
nano .bitcoin/bitcoin.conf
contab -e
* * * * * bitcoind
```## running bitcoin node
```bitcoind```### watch blocks syncing process
```
watch -n1 bitcoin-cli getblockcount
```
or:
```
apt-get install jq bc
watch -n1 echo "$(printf "%.2f" $(echo "100 * $(bitcoin-cli getblockchaininfo | jq '.verificationprogress')" | bc))% blockcount: $(bitcoin-cli getblockcount)"
```## installing bitcoin explorer (optional)
```
apt-get install git nodejs npm
npm install -g n
n stable
git clone https://github.com/bitpay/bitcore.git && cd bitcore
npm i
...
```