Last active
November 10, 2023 10:00
-
-
Save makevoid/6fc843b7846baf38f0c0 to your computer and use it in GitHub Desktop.
Install bitcoin - bitcoind - v 0.19.0.1 - from binary - bitcoin.org - quick install
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
set -xe | |
mkdir ~/tmp | |
cd ~/tmp | |
wget https://bitcoin.org/bin/bitcoin-core-0.19.0.1/bitcoin-0.19.0.1-x86_64-linux-gnu.tar.gz --no-check-certificate | |
# check the shasum | |
tar xvf bitcoin-0.19.0.1-x86_64-linux-gnu.tar.gz | |
mv bitcoin-0.19.0.1 ~/bitcoin | |
~/bitcoin/bin/bitcoind | |
# let it run for 5 seconds | |
# kill it (ctrl C) | |
# edit the main conf | |
vim ~/.bitcoin/bitcoin.conf | |
# add options for RPC connections and txindex (for block explorer API usage), add optional pruning | |
# | |
# txindex=1 | |
# # rpcuser=bitcoinrpc | |
# # rpcpassword=CHANGE-ME-538bb162ac1c696246167fd30bf9dd | |
# rpcauth=bitcoinrpc:..... # generate this via https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py | |
# | |
# # optimizations | |
# dbcache=1000 | |
# maxmempool=4000 | |
# | |
# # enable RPC access | |
# server=1 | |
# rpcbind=1.2.3.4 # machine public ip (for a public node) or local network range | |
# rpcallowip=2.3.4.5 # your App's IP or local network range | |
~/bitcoin/bin/bitcoind | |
# enjoy! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment