/
netmine.cfg
69 lines (54 loc) · 1.83 KB
/
netmine.cfg
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
# config version format
version = ".2";
permissions :
{
username = "connector";
group = "connector";
}
logger:
{
root = "/tmp/logger/";
max_buffer = 524288000; #will disconnect reader clients if buffer is larger than this, in bytes
};
verbatim:
{
logpath = "/var/log/connector/"; # You can set up verbatim to work with logrotate, which you probably want.
};
getaddr: {
# getaddr will reinitiate in the product of hour and minutes list
# TODO: just copy cron format
schedule: { # in system local time ...
hours = ( 0, 4, 8, 12, 16, 20 );
minutes = ( 15 );
};
sampling_rate = .1; # probability of a address in addr of being sampled
};
connector:
{
control_path = "/tmp/bitcoin_control";
control_listen = 5; # Argument to listen parameter for control sock
msg_pool_size = 128; # How many registered messages should be kept
blacklist = "/etc/netmine/blacklist.txt"; # one ip address per line in ascii
user_agent = "/Coinscope-GH:0.2/";
bitcoin: {
# It will listen to the following list of addresses
# tuples. Note, currently only AF_INET is supported. No check is
# done to verify that these make sense, other than to try to
# connect to them. Format is ("family", "ipv4 addr", port,
# listeners)
listeners = ( ( "AF_INET", "127.0.0.1", 8334, 128) );
# How often should each connection be pinged if we've received
# no activity. 0 means never.
ping_frequency = 0;
active_ping: { # How often should each connection be pinged regardless
mean = 60.0; # These have to be floating point values
stddev = 1.0;
};
# What start height should we send in version messages initially
start_height = 346110;
magic = 0xD9B4BEF9L;
max_version = 70002;
min_version = 209;
services = 1;
};
};