Guest User

Bitcoin Config

a guest
Dec 21st, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. # bitcoin configuration
  2.  
  3. # /home/bitcoin/.bitcoin/bitcoin.conf
  4.  
  5.  
  6.  
  7. # Bitcoin options
  8.  
  9. server=1
  10.  
  11. daemon=1
  12.  
  13.  
  14.  
  15. # Bind to localhost and docker
  16.  
  17. bind=127.0.0.1
  18.  
  19. bind=172.17.0.1
  20.  
  21.  
  22.  
  23. # Needed for BTC-RPC-Explorer
  24.  
  25. txindex=1
  26.  
  27.  
  28.  
  29. # CPU count
  30.  
  31. par=-1
  32.  
  33.  
  34.  
  35. # Debug log settings
  36.  
  37. shrinkdebugfile=0
  38.  
  39.  
  40.  
  41. # Connection settings
  42.  
  43. rpcauth=mynode:*************************************
  44.  
  45.  
  46.  
  47. rpcport=8332
  48.  
  49. rpcbind=0.0.0.0
  50.  
  51. rpcallowip=127.0.0.1
  52.  
  53. rpcallowip=10.0.0.0/8
  54.  
  55. rpcallowip=172.16.0.0/12
  56.  
  57. rpcallowip=192.168.0.0/16
  58.  
  59.  
  60.  
  61. # Set default wallet so some wallet APIs work
  62.  
  63. #main.wallet=wallet.dat
  64.  
  65. #main.wallet=joinmarket_wallet.dat
  66.  
  67.  
  68.  
  69. test.wallet=wallet.dat
  70.  
  71. test.wallet=joinmarket_wallet.dat
  72.  
  73.  
  74.  
  75. # Enable Deprecated RPCs
  76.  
  77. deprecatedrpc=addresses
  78.  
  79.  
  80.  
  81. # Whitelist local connections (and docker)
  82.  
  83. whitelist=127.0.0.1
  84.  
  85. whitelist=172.16.0.0/12
  86.  
  87.  
  88.  
  89. # Dont limit data to electrum server or local network
  90.  
  91. whitelist=download@10.0.0.0/8
  92.  
  93. whitelist=download@192.168.0.0/16
  94.  
  95.  
  96.  
  97. # Enable Bloom filters (local network)
  98.  
  99. whitelist=bloomfilter@10.0.0.0/8
  100.  
  101. whitelist=bloomfilter@192.168.0.0/16
  102.  
  103.  
  104.  
  105. zmqpubrawblock=tcp://0.0.0.0:28332
  106.  
  107. zmqpubrawtx=tcp://0.0.0.0:28333
  108.  
  109. zmqpubhashblock=tcp://0.0.0.0:28334
  110.  
  111.  
  112.  
  113. # myNode Optimizations
  114.  
  115. dbcache=3000
  116.  
  117. maxorphantx=10
  118.  
  119. maxmempool=500
  120.  
  121. maxconnections=40
  122.  
  123. maxuploadtarget=1000
  124.  
  125. rpcworkqueue=32
  126.  
  127. # IPv4 Disabled
  128.  
  129. dnsseed=0
  130.  
  131. dns=0# Tor config
  132.  
  133. proxy=127.0.0.1:9050
  134.  
  135. listen=1
  136.  
  137. onlynet=onion
Add Comment
Please, Sign In to add comment