Advertisement
Guest User

Untitled

a guest
Feb 9th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. #1 .bitcoin directory
  2.  
  3. root@upsy:~/bitcoin-core/.bitcoin# ls -l
  4. total 4644
  5. -rw------- 1 root root 37 Feb 8 14:36 banlist.dat
  6. -rw------- 1 root root 210 Feb 9 05:53 bitcoin.conf
  7. -rw------- 1 root root 5 Feb 9 05:55 bitcoind.pid
  8. drwx------ 3 root root 36864 Feb 9 08:38 blocks
  9. drwx------ 2 root root 45056 Feb 9 08:40 chainstate
  10. -rw------- 1 root root 3088431 Feb 9 08:40 debug.log
  11. -rw------- 1 root root 28534 Feb 9 05:54 fee_estimates.dat
  12. -rw------- 1 root root 1527150 Feb 9 08:25 peers.dat
  13.  
  14. #2 bitcoin.conf
  15.  
  16. listen=1
  17. bind=0.0.0.0
  18. port=8333
  19. maxconnections=64
  20. upnp=1
  21.  
  22. dbcache=64
  23. par=2
  24. checkblocks=24
  25. checklevel=0
  26.  
  27. disablewallet=1
  28.  
  29. rpcbind=127.0.0.1
  30. rpcport=8332
  31. rpcallowip=127.0.0.1
  32. rpcuser=HIDDEN_FOR_PASTEBIN
  33. rpcpassword=HIDDEN_FOR_PASTEBIN
  34.  
  35. #3 /bin directory
  36.  
  37. root@upsy:~/bitcoin-core/bin# ls -l
  38. total 11360
  39. -rwxr-xr-x 1 root root 2748184 Feb 8 14:36 bitcoin-cli
  40. -rwxr-xr-x 1 root root 8873112 Feb 8 14:36 bitcoind
  41. -rwxr-xr-x 1 root root 189 Feb 8 14:36 start.sh
  42. -rwxr-xr-x 1 root root 127 Feb 8 14:36 stop.sh
  43.  
  44. #4 start.sh
  45.  
  46. #!/bin/sh
  47. if [ -f /root/bitcoin-core/bin/bitcoind ]; then
  48. /root/bitcoin-core/bin/bitcoind -conf=/root/bitcoin-core/.bitcoin/bitcoin.conf -datadir=/root/bitcoin-core/.bitcoin -daemon
  49. fi
  50.  
  51. ----------
  52. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement