Skip to content

Commit

Permalink
update cfg generator, add subpool section
Browse files Browse the repository at this point in the history
  • Loading branch information
SwimmingTiger committed Mar 22, 2020
1 parent bb0c49e commit 260fa63
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install/cfg-generator/bitcoin/sserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,10 @@

auto_switch_chain = <?=optionalBool('management_auto_switch_chain', true)?>;
};

# Share jobs with the main pool, but with different coinbase information and addresses.
subpool = {
enabled = <?=optionalBool('subpool_enabled', false)?>; # default: false
name = "<?=optionalTrim('subpool_name', '')?>";
ext_user_id = <?=optionalTrim('subpool_ext_user_id', '0')?>; # Optional, reserved for data analysis. It should < 0 (preventing it is no different from single-user mode).
};

0 comments on commit 260fa63

Please sign in to comment.