forked from ayeowch/bitnodes
-
Notifications
You must be signed in to change notification settings - Fork 4
/
ping.conf.default
53 lines (38 loc) · 1.38 KB
/
ping.conf.default
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
52
53
[ping]
# Logfile
logfile = ping.log
# Max. number of concurrent workers (greenlets) in a pool
workers = 2000
# Print debug output
debug = False
# Public IP address for network interface
source_address = 0.0.0.0
# Protocol version to use for outgoing version message
protocol_version = 70002
# User agent (BIP 0014) to use for outgoing version message
# -----------------------------------------------------------------------------
# NOTE TO USERS
# Please consider changing the user agent before running an instance of this
# crawler. This is so that users will not confuse your crawler with another
# instance that is already running and generating data for the project.
# -----------------------------------------------------------------------------
user_agent = /bitnodes.21.co:0.1/
# Services to use for outgoing network address message
services = 0
# Set to 1 to receive all txs
relay = 1
# Socket timeout
socket_timeout = 30
# Run cron tasks every given interval
cron_delay = 10
# Limit max. nodes per IPv6 network prefix
ipv6_prefix = 64
nodes_per_ipv6_prefix = 1
# Redis TTL for cached RTT
ttl = 10800
# Attempt to establish connection with .onion nodes
onion = True
# Tor proxy is required to connect to .onion address
tor_proxy = 127.0.0.1:9050
# Relative path to directory containing timestamp-prefixed JSON crawl files
crawl_dir = data/crawl/mainnet