Browse Source

Rename bitcoind config step

master
nolim1t 5 years ago
parent
commit
3317932ea8
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 32
      stage2/08-configure-bitcoind/files/bitcoin.conf
  2. 4
      stage2/08-set-bitcoind-perms/01-run.sh

32
stage2/08-configure-bitcoind/files/bitcoin.conf

@ -1,32 +0,0 @@
onion=127.0.0.1:9050
torcontrol=127.0.0.1:9051
server=1
rest=1
# Some Pi optimizations
maxmempool=512
maxconnections=40
maxuploadtarget=5000
port=8333
rpcport=8332
# Keep it pruned while we don't have a extenal drive to work with
prune=550
# When we have one we remove this
# Temporary solution while we don't have the drives
# txindex=1
# blockfilterindex=1
peerbloomfilters=0
addresstype=bech32
avoidpartialspends=1
logips=1
logtimestamps=0
logthreadnames=1
nodebuglogfile=1
rpcbind=0.0.0.0

4
stage2/08-configure-bitcoind/01-run.sh → stage2/08-set-bitcoind-perms/01-run.sh

@ -1,9 +1,5 @@
# TODO: configure username and password (internally)
chmod 644 files/bitcoin.conf
mkdir ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/bitcoin
cp files/bitcoin.conf ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/bitcoin/bitcoin.conf
echo "Downloading password utility"
cd ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/bin
curl "https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py" 2>/dev/null 1>rpcauth.py
Loading…
Cancel
Save