-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitcoin.conf
51 lines (46 loc) · 1.26 KB
/
bitcoin.conf
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
41
42
43
44
45
46
47
48
49
50
51
testnet=0
regtest=1
rpcuser=user
rpcpassword=password
daemon=1
txindex=1 # Maintain a full transaction index (1 to enable)
server=1 # Accept command line and JSON-RPC commands
listen=1 # Listen for incoming connections
rest=1
rpcallowip=0.0.0.0/0
disablewallet=0
deprecatedrpc=accounts
cache=4096
mempoolsize=100 # Set the maximum size of the mempool in MB
datadir=/data/.bitcoin
# Options only for mainnet
[main]
maxconnections=10 # Maintain at most N connections to peers
# Options only for testnet
[test]
rpcbind=0.0.0.0
rpcport=18332
port=18333
connect=0 # 0: Offline mode, do not connect to the network
deprecatedrpc=create_bdb # Enable deprecated legacy wallets RPC
# Logging and debugging
debug=1
logtimestamps=1
shrinkdebugfile=1
# Options only for signet
[signet]
# Options only for regtest
[regtest]
rpcbind=0.0.0.0
rpcport=18332
port=18333
rpcallowip=0.0.0.0/0
rpcallowip=::/0
deprecatedrpc=create_bdb # Enable deprecated legacy wallets RPC
# Logging and debugging
debug=1
logtimestamps=1
shrinkdebugfile=1
# Node relay options
acceptnonstdtxn=1
datacarrier=2