This repository has been archived by the owner on Oct 29, 2022. It is now read-only.
forked from decred/dcrstakepool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-dcrstakepool.conf
132 lines (100 loc) · 4.25 KB
/
sample-dcrstakepool.conf
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
; Access to administrative pages like /status and /admintickets
; are restricted by both IP address and User ID. Only if both filters pass
; will a user be able to access those functions.
adminips=127.0.0.1
; Multiple values can be used and are separated by a comma.
;adminips=127.0.0.1,192.0.2.1,198.51.100.1
; No default in case UserId 1 is a shared account of some sort.
;adminuserids=1
; Multiple values can be used and are separated by a comma.
;adminuserids=1,2,3
; Secret string used to encrypt API and to generate CSRF tokens.
; Can use openssl rand -hex 32 to generate one.
;apisecret=
; baseurl to use when emailing verification links.
; Make sure to skip using a trailing slash.
; baseurl=https://host.domain.tld
; Disable new user signups.
;closepool=1
; If you want to specify a custom message, do so here.
;closepoolmsg=The voting service is temporarily closed to new signups.
; Database configuration defaults to these, change as needed.
;dbhost=localhost
;dbport=3306
;dbname=stakepool
;dbuser=stakepool
;dbtls=false
;dbca=/mysql/ca.pem
;dbcert=/mysql/client-cert.pem
;dbkey=/mysql/client-key.pem
; No default password so you need to specify one.
;dbpassword=
; Stakepoold hosts, will use default wallet RPC port for network
; if not specified.
; stakepooldhosts=10.0.0.20,10.0.0.21
; stakepoold RPC Cert. Absolute path or relative name in ~/.dcrstakepool
; stakepooldcerts=stakepoold1.cert,stakepoold2.cert
; Specify a Go-style network listener. Default is below.
;listen=:8000
; The HTTP request header containing the actual remote client IP address for
; accurate logging. The default value is the empty string, indicating to use
; golang's Request.RealAddr value, which may be incorrect when behind a proxy.
; See sample-nginx.conf for an example configuration of ngx_http_realip_module.
;realipheader=X-Real-IP
; Support email and link show on the homepage.
;poollink=https://example.com/
; Specified extended public key is used to generate fee payment addresses
; which are presented to the user.
; Should match dcrwallet's stakepoolcoldextkey configuration (without :10000).
;coldwalletextpub=xpub
; Fees as a percentage. 7.5 = 7.5%. Precision of 2, 7.99 = 7.99%.
; Should match dcrwallet's configuration.
;poolfees=7.5
; Mail server to use. Default is an empty string which disables email-based
; features like email verification of new users, password resets, and email
; address changes. This mode is intended to primarily be used for testing.
; For production use, a mail server is required.
;smtphost=localhost:25
; From address to use.
; Can specify username/password if authentication is required.
;smtpusername=
;smtppassword=
; Skip SMTP TLS cert verification. Will only skip if SMTPCert is empty
;smtpskipverify=
; Path for the smtp certificate file
;smtpcert=
; Connect to the SMTP server using smtps.
;usesmtps=false
; Stay on testnet until everything is well tested.
testnet=1
; Specified extended public key is used to generate ticketed addresses
; which are combined with a user address for 1-of-2 multisig.
; Must be the voting wallet's masterpubkey for the default account.
;votingwalletextpub=xpub
; Debug logging level.
; Valid levels are {trace, debug, info, warn, error, critical}
; You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set
; log level for individual subsystems. Use dcrstakepool --debuglevel=show to
; list available subsystems.
;debuglevel=info
; Various HTTP settings are in this section.
; Secret string used to encrypt session data. Can use openssl rand -hex 32
; to generate one.
;cookiesecret=
; Whether to set the secure flag on cookies. If you have SSL/TLS setup then
; you should change this to true.
;cookiesecure=true
; Path to the root folder/directory which contains CSS/fonts/images/javascript.
;publicpath=public
; Path to the root folder/directory which contains the HTML templates.
;templatepath=views
; Maximum number of voted tickets to show on tickets page.
;maxvotedtickets=1000
; The designated codename for this VSP. Customises the VSP logo in the top toolbar.
; eg. Alpha, Bravo, etc
designation=YourVSP
; Operators own description of their VSP, up two to sentences.
; Printed on the home screen under the VSP overview
description=Your VSP description