-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbitcoin.conf
More file actions
42 lines (32 loc) · 1.07 KB
/
bitcoin.conf
File metadata and controls
42 lines (32 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Use the regtest network, because we can generate blocks as needed.
regtest=1
# The use of bitcoin cash address format is deprecated. Disable.
usecashaddr=0
# Running as foreground process in Docker, so no need for daemon mode
daemon=0
# Have our local node generate a transaction index to allow for faster queries
txindex=1
# RPC settings (inbound RPC connections)
rpcbind=0.0.0.0
rpcport=18332
rpcuser=user
rpcpassword=password
whitelist=127.0.0.1
rpcallowip=0.0.0.0/0
debug=1
rpcworkqueue=128
rpcthreads=128
rpctimeout=220
# Enable the JSON-RPC Server. This is required by bitcoin-cli.
server=1
# In this example we are only interested in receiving raw transactions.
# The address here is the URL where bitcoind will listen for new ZeroMQ connection requests.
#zmqpubrawtx=tcp://127.0.0.1:28332
#zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubhashtx=tcp://127.0.0.1:28332
zmqpubhashblock=tcp://127.0.0.1:28332
#See https://bitcoinsv.io/choosing-consensus-settings/
# 2Gb execessive block size
# 200Mb max stack memory
excessiveblocksize=2000000000
maxstackmemoryusageconsensus=200000000