Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { //# Comment
- "interval_granularity" : 15, //# make it the highest common denominator of all intervals_seconds values
- "intervals_seconds" : {
- "rem_penalty" : 300, //# optional, interval in seconds to remove rem_penalty_interval_amt from a connection's penalty
- "stuck_check" : 15, //# optional, interval in seconds to check if the miner is stuck
- "switch_check" : 240 //# optional, interval in seconds to check if connection needs to switch to the lowest base_priority + penalty
- },
- "penalty_triggers" : { //# add as many as you want, examples below
- "warnings" : {
- "regex" : "(?i:warning|fail|problem)", //# regex to match against to trigger this penalty_trigger
- "penalty" : 1 //# optional, default 0, penalty to apply to base_priority of a connection
- //#"triggers_switch" : 1 //# optional, default 1, switch connection if this penalty_trigger is triggered
- //#"repeat_penalty": 2, //# optional, default 0, penalty to apply to base_priority of a connection if this trigger repeats
- //#"repeat_switch" : 1 //# optional, switch if a repeat is detected
- },
- "errors" : {
- "regex" : "(?i:error|traceback|unavailable|disconnect)",
- "penalty" : 2
- },
- "stuck" : {
- "regex" : ".*",
- "triggers_switch" : 0,
- "stuck_penalty" : 1, //# optional, default 0, penalty to apply to base_priority of a connection if this miner is stuck
- "stuck_switch" : 1 //# optional, switch if stuck
- }
- },
- "connections" : { //# add as many as you want, examples below
- "Pool 1 server 1" : {
- "command" : "/usr/local/src/phoenix/phoenix.py -u http://user:pass@server1.domain.tld:8332/ -k phatk DEVICE=0 FASTLOOP=false VECTORS AGGRESSION=12 BFI_INT", //# miner command line, note that aids.pl will cd to the directory that the miner is in
- "base_priority" : 0, //# the lowest base_priority + penalties is chosen when a switch occurs
- "rem_penalty_interval_amt" : 1, //# penalty amount to remove during rem_penalty check, can be 0
- //#"switch_after_sec" : 60, //# optional, force a switch off of this connection after this many seconds
- //#"switch_after_sec_penalty" : 3, //# optional, penalty to apply after a switch_after_sec switch
- //#"conduit" : "pty-pipe", //# optional, setting may help with certain miner's output not being captured see http://search.cpan.org/~rcaputo/POE/lib/POE/Wheel/Run.pm#Conduit
- //#"nostream" : 0, //# optional, send newlines instead of streamed output from miner
- "applicable_triggers" : [ //# which penalty_triggers this connection uses, all of them if applicable_triggers is not defined
- "warnings",
- "errors",
- "stuck"
- ]
- },
- "Pool 1 server 2" : {
- "command" : "/usr/local/src/phoenix/phoenix.py -u http://user:pass@server2.domain.tld:8332/ -k phatk DEVICE=0 FASTLOOP=false VECTORS AGGRESSION=12 BFI_INT",
- "base_priority" : 1,
- "rem_penalty_interval_amt" : 1
- },
- "Pool 2 server 1" : {
- "command" : "/usr/local/src/phoenix/phoenix.py -u http://user:pass@server1.domain2.tld:8332/ -k phatk DEVICE=0 FASTLOOP=false VECTORS AGGRESSION=12 BFI_INT",
- "base_priority" : 2,
- "rem_penalty_interval_amt" : 1
- },
- "local bitcoind" : {
- "command" : "usr/local/src/phoenix/phoenix.py -u http://user:pass@127.0.0.1:8332/;askrate=5 -k phatk DEVICE=0 VECTORS AGGRESSION=12 BFI_INT",
- "base_priority" : 3,
- "rem_penalty_interval_amt" : 1
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement