forked from shadders/JavaBitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.JavaBitcoin.conf
More file actions
51 lines (40 loc) · 1.92 KB
/
Copy pathsample.JavaBitcoin.conf
File metadata and controls
51 lines (40 loc) · 1.92 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
41
42
43
44
45
46
47
48
49
50
51
#############################################################################
# Sample JavaBitcoin configuration file. Rename it to JavaBitcoin.conf and #
# place it in the JavaBitcoin application directory in order to use it. #
#############################################################################
# Connect to just the specified host. connect can be repeated to connect to
# multiple hosts. Default is to use DNS discovery and the peers database
# to connect to peers.
#connect = [address]:port
# Set maximum number of connections (defaults to 32)
maxConnections = 32
# Set maximum number of outbound connections (defaults to 8)
maxOutbound = 8
# Set the listen port (defaults to 8333)
port = 8333
# Set the external host name for this node (checkip.dyndns.org will be used to
# resolve the external IP address if no host name is specified)
#hostName=host.domain
# Set peer blacklist. Connections will not be accepted from a blacklisted
# peer nor will connections be created to a blacklisted peer.
# Specify the peer address as ip-address/mask-size. The mask-size can be
# omitted to blacklist a single address.
# The blacklistPeer parameter can be repeated to blacklist multiple peers.
#blacklistPeer = 1.2.3.0/24
#blacklistPeer = 1002:3004:5006:7008::0/64
# Set the database type (LevelDB or H2, defaults to LevelDB)
dbType = LevelDB
# Set the RPC port
rpcPort = 8332
# Set the network hosts that are allowed to issue RPC requests. rpcAllowIp can be
# repeated to add multiple hosts. The default is to not allow RPC requests. Note
# that IPv4 and IPv6 address are specified separately for hosts with multiple
# network interfaces.
#rpcAllowIp = 127.0.0.1
#rpcAllowIp = 0::1
# Set the RPC user. An RPC request uses HTTP Basic Authentication and must specify
# this user.
#rpcUser = BadUser
# Set the RPC password. An RPC requests uses HTTP Basic Authentication and must specify
# this password.
#rpcPassword = BadPassword