Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1 .bitcoin directory
- root@upsy:~/bitcoin-core/.bitcoin# ls -l
- total 4644
- -rw------- 1 root root 37 Feb 8 14:36 banlist.dat
- -rw------- 1 root root 210 Feb 9 05:53 bitcoin.conf
- -rw------- 1 root root 5 Feb 9 05:55 bitcoind.pid
- drwx------ 3 root root 36864 Feb 9 08:38 blocks
- drwx------ 2 root root 45056 Feb 9 08:40 chainstate
- -rw------- 1 root root 3088431 Feb 9 08:40 debug.log
- -rw------- 1 root root 28534 Feb 9 05:54 fee_estimates.dat
- -rw------- 1 root root 1527150 Feb 9 08:25 peers.dat
- #2 bitcoin.conf
- listen=1
- bind=0.0.0.0
- port=8333
- maxconnections=64
- upnp=1
- dbcache=64
- par=2
- checkblocks=24
- checklevel=0
- disablewallet=1
- rpcbind=127.0.0.1
- rpcport=8332
- rpcallowip=127.0.0.1
- rpcuser=HIDDEN_FOR_PASTEBIN
- rpcpassword=HIDDEN_FOR_PASTEBIN
- #3 /bin directory
- root@upsy:~/bitcoin-core/bin# ls -l
- total 11360
- -rwxr-xr-x 1 root root 2748184 Feb 8 14:36 bitcoin-cli
- -rwxr-xr-x 1 root root 8873112 Feb 8 14:36 bitcoind
- -rwxr-xr-x 1 root root 189 Feb 8 14:36 start.sh
- -rwxr-xr-x 1 root root 127 Feb 8 14:36 stop.sh
- #4 start.sh
- #!/bin/sh
- if [ -f /root/bitcoin-core/bin/bitcoind ]; then
- /root/bitcoin-core/bin/bitcoind -conf=/root/bitcoin-core/.bitcoin/bitcoin.conf -datadir=/root/bitcoin-core/.bitcoin -daemon
- fi
- ----------
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement