forked from rsantacroce/simplepool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproxy.conf.example
More file actions
30 lines (25 loc) · 1.09 KB
/
proxy.conf.example
File metadata and controls
30 lines (25 loc) · 1.09 KB
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
listen_addr = 0.0.0.0
listen_port = 3334
bitcoind_url = http://127.0.0.1:18443
bitcoind_user = drivepool
bitcoind_pass = drivepool
bitcoind_poll_interval_ms = 30000
# Miners are paid directly: the stratum username must be the miner's
# bitcoin address (`<address>` or `<address>.<rig_label>`). The configured
# operator_address below receives a fee_bps cut of every block reward.
operator_address = bc1qREPLACEME # REPLACE with a real address for your network (bc1 mainnet / tb1 testnet / bcrt1 regtest)
fee_bps = 100 # 100 = 1%; valid range 0..1000 (max 10%)
coinbase_tag = /simplepool/
# vardiff — auto-adjust each connection's difficulty to keep the share
# rate near `target_spm` shares/minute. Set vardiff_enabled = 0 to pin
# every connection to initial_diff (legacy behaviour).
initial_diff = 1
vardiff_enabled = 1
vardiff_target_spm = 12 # ~1 share every 5 seconds per connection
vardiff_min = 1
vardiff_max = 1e12
vardiff_window_sec = 30 # how often to retarget
db_path = ./data/shares.db
commit_window_ms = 100
commit_max_shares = 100
log_level = info