This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
/
config.yml.example
216 lines (205 loc) · 7.91 KB
/
config.yml.example
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# General
# =======================================================================
# Where's powerpool running?
monitor_addrs:
- stratum: tcp+stratum://localhost:3333
mon_address: http://localhost:3855/
- stratum: tcp+stratum://localhost:3334
mon_address: http://localhost:3856/
# how many confirmations do we wait before marking blocks mature
# and allowing payout over RPC
block_mature_confirms: 250
# the version that will trigger an upgrade notification
latest_ppagent: [0, 3, 4]
# The postgresql database connection configuration
SQLALCHEMY_DATABASE_URI: postgresql://simplecoin:testing@localhost:5432/simplecoin
# the session encryption key
SECRET_KEY: 'somethting_really_secret'
# a simple list of users to redact from the stats. Should be built out to a
# database table at some point
redacted_addresses:
- dsflkgsdlfkgsld;fkgsl;dfkg
# the amount of time a action type signed message can be used for before
# expiring (in seconds)
#message_expiry: 7200
merge:
- enabled: False
# A list of valid address versions. used for payout atm
address_version: [71]
# The letter that a valid merged mining address must start with
prefix: M
# Full name of what to label the merged coin on the site
name: Monocle
# BTC, LTC, etc..
currency_name: MON
# required number of transaction confirmations before marking payout
# transactions confirmed
trans_confirmations: 6
# the expected time for the network to find a block in seconds. used for
# computing network hashrate
block_time: 60
# connection information for the merge coinserver RPC
coinserv:
port: 6888
address: 127.0.0.1
username: monoclerp
password: ''
wallet_pass: ''
account: pool
donate_address: MSEjpL5Wyam3bxzcLuFPoWdDWTx7SxT19W
distribute_unassigned: False
# this url will have the transaction id appended to it to provide
# information on a specific transaction for a payout to merged mining
transaction_link_prefix: http://cryptexplorer.com/tx/
# just like above, but with a block to merged mining
block_link_prefix: http://cryptexplorer.com/block/
# how many confirmations do we wait before marking blocks mature
# and allowing payout over RPC
block_mature_confirms: 120
# connection information for the coinserver RPC
coinserv:
port: 22555
address: 127.0.0.1
username: dogecoin
password: ''
wallet_pass: ''
account: simpledoge_pool_address
# email server authentication
email:
send_address: 'simpledogepool@gmail.com'
username: ''
password: ''
ehlo: simpledoge.com
timeout: 10
server: email-smtp.us-east-1.amazonaws.com
port: 587
debug: True
tls: True
# Celery configuration
# =======================================================================
# Celery configuration options. Since celery is run under a flask context
# then thses are settings for the celery worker.
celery:
CELERY_ACCEPT_CONTENT: ['pickle', 'json', 'msgpack', 'yaml']
# the name of the queue you'll recieve tasks from powerpool on. should
# match the default queue setting in powerpool instances that connect with
# this task handler
#CELERY_QUEUES:
# doge:
# exchange: doge
# binding_key: doge
BROKER_URL: 'amqp://guest:guest@localhost:5672/'
# set this to true and celery will only run scheduled tasks to refresh cache
# objects. This allows you to run a staging version on the same database,
# but with separate caches
#stage: False
# Cache configuration
# ========================================================================
# The cache database that redis will use
#main_cache:
# CACHE_REDIS_DB: 1
# Payout configurations
# ========================================================================
# Controls how payout database entries are calculated
#
# the multiplier used on the last n shares to keep for counting share
# contributions
last_n: 2
# this is the n margin that is left by the cleanup script.
cleanup_n: 4
# default donation/bonus percentage applied to payouts if no custom is
# defined
default_perc: 1
# sets to lowest that a user is allowed to set their fee percentage
minimum_perc: 0
# address where all donated percents (or fees) will go
donate_address:
# address where all mining from invalid addresses goes
catchall_address:
# block find reward. set to zero or comment out to not use. in satoshi
block_bonus: 0
# RPC Payout configs
# ========================================================================
# These settings control how the remote rpc payout script functions, as opposed
# to payout functionalities on the server
#
# min payout amount in satoshi
minimum_payout: 100000000 # 1 doge (or ltc, or whatever)
# the fee used when sending payouts to the coinserver. IE, to be applied
# to the payout transaction for transmission to the network
payout_fee: 1.0
# key used to sign rpc requests for payout system. Keep this secure
rpc_signature: ''
# where are we expecting the rpc server to be?
rpc_url: http://www.simpledoge.com
# Mimic some MPOS stuff
# ========================================================================
# Allowed API keys
mpos_api_keys:
- asdf
# Coin/Branding
# =======================================================================
# Website name
site_name: Simple Doge
# Website title. Used when describing the website in signed messages
site_url: simpledoge.com
# the path that will be postfixed with the current git hash in the footer.
# comment out to remove the footer mark
repopath: https://github.com/simplecrypto/simplecoin/commit/
# the expected time for the network to find a block in seconds. used for
# computing network hashrate
block_time: 60
# the number of blocks to average for difficulty
difficulty_avg_period: 500
# required number of transaction confirmations before marking confirmed
trans_confirmations: 6
# the colloquial name of the coin
coin_name: Doge
site_title: Simple Doge
# the unicode symbol for the coin
coin_symbol: "Ð"
# host for static assets e.g. {assets_address}/css/main.css
assets_address: http://simpledoge.com/static
# logo img
logo: "/img/dogecoin.png"
# xs leader img
leader-xs: "/img/doge-miner-xs.jpg"
# sm leader img
leader-sm: "/img/doge-miner-sm.jpg"
# fullsize leader img
leader: "/img/doge-miner.jpg"
# URL for chat, if commented out chat link will not show
chat_url: https://kiwiirc.com/client/irc.freenode.net/#simplecrypto
# this url will have the transaction id appended to it to provide
# information on a specific transaction for a payout
transaction_link_prefix: http://dogechain.info/tx/
# just like above, but with a block
block_link_prefix: http://dogechain.info/block/
# stratum server address
stratum_address: stratum.simpledoge.com
# stratum port
stratum_port: 3333
# link to a good beginner guide
beginner_guide: <a href="http://www.reddit.com/r/dogemining/wiki/index/mining_guide" target="_blank">Reddit</a>
# how many previously solved blocks to show on the pool stats page. defaults to 25
#blocks_stats_page: 25
# The number of hashes required to find an N1 share on average. Will change
# if you change the share multiplication factor
hashes_per_share: 65536
# Share multiplication factor. The database doesn't store fractional difficulty
# shares (N1 is lowest) so for coins like darkcoin you need to multiply the
# number recieved from powerpool before storing in the database. This then in
# turn effects the hashes_per_share above needed to reverse compute proper
# hashrate
#share_multiplier: 1
# Difficulty multiplication factor. Used to determine the network hashrate.
# 2^32 for most networks
difficulty_multiplier: 4294967296
# A list of valid address versions
address_version: [71]
# Logging
# =======================================================================
# where all webserver exceptions and logging messages will get put
#log_file = webserver.log
# all management commands will be logged here
#manage_log_file = manage.log