-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathpool.example.toml
51 lines (39 loc) · 1.9 KB
/
pool.example.toml
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
# Password used by your paymaker to post logs for payment
paymaker_http_password = "you'll want this to be a secret"
# URL of the pool master, used for getting configuration and work
master_url = "http://your.main.pool.server/master"
# Store the data here
root_workdir = "./datastore/pool"
# You can have multiple announcement handlers defined in the same conf file
# You select the one you want using the command line, for example:
# packetcrypt ah --config /path/to/config.toml ah0
[ann_handler.ah0]
# This is an optional password, if specified then no block miners will be
# able to use this handler unless they are using the same password on their
# command line using the -P or --handlerpass flag
# This will help prevent free-loader pools which pull announcements from
# your handlers but don't remunerate the announcement miners.
#block_miner_passwd = "you_can_put_a_secret_here"
# Randomly skip validation of some announcements to reduce CPU effort
# Set to 0 to check all announcements.
skip_check_chance = 0.5
# Number of worker threads
num_workers = 8
# Length of the input queue, keeping this low will create back-pressure
# and prevent miners from posting too many announcements when the server
# is in fact overloaded
input_queue_len = 256
# The public URL of this ann handler
public_url = "http://this.server/submit"
# Bind to this port
# NOTE: To bind low ports with non-root user:
# sudo setcap CAP_NET_BIND_SERVICE=+eip $(which packetcrypt)
bind_pub = "0.0.0.0:80"
# Bind this port for the sprayer component, this should be on your local network
bind_pvt = "192.168.123.234:6666"
# How many threads to occupy with running sprayer
spray_workers = 8
# Subscribe to other sprayer nodes? Typically a handler will not do this.
subscribe_to = []
# Keep this many of the newest ann files
files_to_keep = 500