forked from radix42/znodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrawl.conf.default
113 lines (88 loc) · 2.57 KB
/
crawl.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[crawl]
# Logfile
logfile = crawl.mainnet.log
# Network (mainnet or testnet3)
network = mainnet
# List of DNS seeders to get a subset of reachable nodes
# --- mainnet ---
seeders =
mainnet.zensystem.io
node1.zenchain.info
dnsseed.zenseed.network
# --- testnet3 ---
seeders =
node.scottrockcafe.com
# Number of concurrent workers (greenlets)
workers = 500
# 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 = 170002
# 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 = /znodes:0.1/
# Services to use for outgoing network address message
services = 0
# Set to 1 to receive all txs
relay = 0
# Socket timeout
socket_timeout = 30
# Run cron tasks every given interval
cron_delay = 10
# Take full network snapshot at most at every given interval
snapshot_delay = 240
# Max. age for peering node to be included in crawl set
max_age = 86400
# Attempt to establish connection with IPv6 nodes
ipv6 = True
# Limit max. nodes per IPv6 network prefix
ipv6_prefix = 64
nodes_per_ipv6_prefix = 1
# List of excluded IPv4 networks
exclude_ipv4_networks =
0.0.0.0/8
10.0.0.0/8
100.64.0.0/10
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.0.0.0/24
192.0.0.0/29
192.0.0.170/32
192.0.0.171/32
192.0.0.8/32
192.0.2.0/24
192.168.0.0/16
192.175.48.0/24
192.31.196.0/24
192.52.193.0/24
192.88.99.0/24
198.18.0.0/15
198.51.100.0/24
203.0.113.0/24
240.0.0.0/4
255.255.255.255/32
# List of excluded IPv6 networks
exclude_ipv6_networks =
# Exclude IPv4 bogons
exclude_ipv4_bogons = True
# Attempt to establish connection with .onion nodes
onion = False
# Tor proxy is required to connect to .onion address
tor_proxy = 127.0.0.1:9050
# List of initial .onion nodes
onion_nodes =
# Include reachable nodes from https://bitnodes.21.co/#join-the-network
include_checked = False
# Relative path to directory containing timestamp-prefixed JSON crawl files
# --- mainnet ---
crawl_dir = data/crawl/mainnet
# --- testnet3 ---
#crawl_dir = data/crawl/testnet3