From 2f78e62830718971b75feb4b1bc556c53a85da9c Mon Sep 17 00:00:00 2001 From: 3err0 Date: Thu, 6 Jun 2019 02:24:07 +0800 Subject: [PATCH] triggered static url moved to macros --- template-l3.xml | 16 ++++++++++++++-- template-s9.xml | 16 ++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/template-l3.xml b/template-l3.xml index 3d82738..f417b76 100644 --- a/template-l3.xml +++ b/template-l3.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-05T17:59:48Z + 2019-06-05T18:22:12Z AntMiner L3 @@ -1569,6 +1569,18 @@ {$HOST.PORT} 4028 + + {$URL1} + stratum+tcp://eu.ltc.sigmapool.com:3333 + + + {$URL2} + stratum+tcp://eu1.ltc.sigmapool.com:3333 + + + {$URL3} + stratum+tcp://scrypt.eu.nicehash.com:3333 + @@ -1689,7 +1701,7 @@ - ({AntMiner L3:AntMinerL3.URL1.str(stratum+tcp://eu.ltc.sigmapool.com:3333)}=0 or {AntMiner L3:AntMinerL3.URL2.str(stratum+tcp://eu1.ltc.sigmapool.com:3333)}=0 or {AntMiner L3:AntMinerL3.URL3.str(stratum+tcp://scrypt.eu.nicehash.com:3333)}=0) and {AntMiner L3:icmpping.last()}=1 + ({AntMiner L3:AntMinerL3.URL1.str({$URL1})}=0 or {AntMiner L3:AntMinerL3.URL2.str({$URL2})}=0 or {AntMiner L3:AntMinerL3.URL3.str({$URL3})}=0) and {AntMiner L3:icmpping.last()}=1 0 Внимание "левые" URL! {HOST.NAME} diff --git a/template-s9.xml b/template-s9.xml index 036fca0..eee98a3 100644 --- a/template-s9.xml +++ b/template-s9.xml @@ -1,7 +1,7 @@ 4.2 - 2019-06-04T05:31:07Z + 2019-06-05T18:22:29Z AntMiner S9 @@ -1525,6 +1525,18 @@ {$HOST.PORT} 4028 + + {$URL1} + stratum+tcp://eu1.btc.sigmapool.com:3333 + + + {$URL2} + stratum+tcp://eu2.btc.sigmapool.com:3333 + + + {$URL3} + stratum+tcp://stratum.antpool.com:3333 + @@ -1645,7 +1657,7 @@ - ({AntMiner S9:AntMinerS9.URL1.str(stratum+tcp://eu1.btc.sigmapool.com:3333)}=0 or {AntMiner S9:AntMinerS9.URL2.str(stratum+tcp://eu2.btc.sigmapool.com:3333)}=0 or {AntMiner S9:AntMinerS9.URL3.str(stratum+tcp://stratum.antpool.com:3333)}=0) and {AntMiner S9:icmpping.last()}=1 + ({AntMiner S9:AntMinerS9.URL1.str({$URL1})}=0 or {AntMiner S9:AntMinerS9.URL2.str({$URL2})}=0 or {AntMiner S9:AntMinerS9.URL3.str({$URL3})}=0) and {AntMiner S9:icmpping.last()}=1 0 Внимание "левые" URL! {HOST.NAME}