Browse Source

Add bitcoin config

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

4
stage2/08-configure-bitcoind/01-run.sh

@ -0,0 +1,4 @@
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

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

@ -0,0 +1,30 @@
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
; Prune it up first
prune=550
; 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
Loading…
Cancel
Save