This repository has been archived by the owner on Aug 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* xmrig/xmrig#1117 * xmrig/xmrig-proxy#314 * xmrig/xmrig#1007 * xmrig/xmrig#1010 * xmrig/xmrig#1077 * xmrig/xmrig#1111
- Loading branch information
Showing
7 changed files
with
144 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,6 @@ | ||
{% if xa.port is defined and xa.port != '' %} | ||
{{ ' ' ~ '\"port\"' ~ ': ' ~ xa.port ~ ',' }} | ||
{% if xr.init is defined and xr.init != '' %} | ||
{{ ' ' ~ '\"worker-id\"' ~ ': ' ~ xr.init ~ ',' }} | ||
{% endif %} | ||
{% if xa.access_token is defined and xa.access_token != '' %} | ||
{% if xa.access_token == 'null' %} | ||
{{ ' ' ~ '\"access-token\"' ~ ': ' ~ xa.access_token ~ ',' }} | ||
{% else %} | ||
{{ ' ' ~ '\"access-token\"' ~ ': \"' ~ xa.access_token ~ '\",' }} | ||
{% endif %} | ||
{% endif %} | ||
{% if xa.worker_id is defined and xa.worker_id != '' %} | ||
{% if xa.worker_id == 'null' %} | ||
{{ ' ' ~ '\"worker-id\"' ~ ': ' ~ xa.worker_id ~ ',' }} | ||
{% else %} | ||
{{ ' ' ~ '\"worker-id\"' ~ ': \"' ~ xa.worker_id ~ '\",' }} | ||
{% endif %} | ||
{% endif %} | ||
{% if xa.ipv6 is defined and xa.ipv6 in ['true', 'false'] %} | ||
{{ ' ' ~ '\"ipv6\"' ~ ': ' ~ xa.ipv6 ~ ',' }} | ||
{% endif %} | ||
{% if xa.restricted is defined and xa.restricted in ['true', 'false'] %} | ||
{{ ' ' ~ '\"restricted\"' ~ ': ' ~ xa.restricted ~ ',' }} | ||
{% if xr.numa is defined and xr.numa in ['true', 'false'] %} | ||
{{ ' ' ~ '\"numa\"' ~ ': ' ~ xr.hw_aes ~ ',' }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
{% if item.asm is defined and item.asm in ['true', 'false'] %} | ||
{{ ' ' ~ '\"asm\"' ~ ': ' ~ item.asm ~ ',' }} | ||
{% elif item.asm is defined and item.asm in ['auto', 'none', | ||
'intel', 'ryzen'] %} | ||
{{ ' ' ~ '\"asm\"' ~ ': \"' ~ item.asm ~ '\",' }} | ||
{% if xc.asm is defined and xc.asm in ['true', 'false'] %} | ||
{{ ' ' ~ '\"asm\"' ~ ': ' ~ xc.asm ~ ',' }} | ||
{% elif xc.asm is defined and xc.asm in ['intel', 'ryzen', 'bulldozer'] %} | ||
{{ ' ' ~ '\"asm\"' ~ ': \"' ~ xc.asm ~ '\",' }} | ||
{% endif %} | ||
{% if item.av is defined and item.av in ['0', '1', '2', '3', '4'] %} | ||
{{ ' ' ~ '\"av\"' ~ ': ' ~ item.av ~ ',' }} | ||
{% if xc.huge_pages is defined and xc.huge_pages in ['true', 'false'] %} | ||
{{ ' ' ~ '\"huge-pages\"' ~ ': ' ~ xc.huge_pages ~ ',' }} | ||
{% endif %} | ||
{% if item.max_cpu_usage is defined and item.max_cpu_usage != '' %} | ||
{{ ' ' ~ '\"max-cpu-usage\"' ~ ': ' ~ item.max_cpu_usage ~ ',' }} | ||
{% if xc.hw_aes is defined and xc.hw_aes in ['true', 'false'] %} | ||
{{ ' ' ~ '\"hw-aes\"' ~ ': ' ~ xc.hw_aes ~ ',' }} | ||
{% endif %} | ||
{% if item.cpu_affinity is defined and item.cpu_affinity != '' %} | ||
{% if item.cpu_affinity == 'null' %} | ||
{{ ' ' ~ '\"cpu-affinity\"' ~ ': ' ~ item.cpu_affinity ~ ',' }} | ||
{% if xc.affinity is defined and xc.affinity != '' %} | ||
{% if xc.affinity == 'null' %} | ||
{{ ' ' ~ '\"affinity\"' ~ ': ' ~ xc.affinity ~ ',' }} | ||
{% else %} | ||
{{ ' ' ~ '\"cpu-affinity\"' ~ ': \"' ~ item.cpu_affinity ~ '\",' }} | ||
{{ ' ' ~ '\"affinity\"' ~ ': \"' ~ xc.affinity ~ '\",' }} | ||
{% endif %} | ||
{% endif %} | ||
{% if item.cpu_priority is defined and item.cpu_priority != '' %} | ||
{% if item.cpu_priority == 'null' %} | ||
{{ ' ' ~ '\"cpu-priority\"' ~ ': ' ~ item.cpu_priority ~ ',' }} | ||
{% if xc.priority is defined and xc.priority != '' %} | ||
{% if xc.priority == 'null' %} | ||
{{ ' ' ~ '\"priority\"' ~ ': ' ~ xc.priority ~ ',' }} | ||
{% else %} | ||
{{ ' ' ~ '\"cpu-priority\"' ~ ': \"' ~ item.cpu_priority ~ '\",' }} | ||
{{ ' ' ~ '\"priority\"' ~ ': \"' ~ xc.priority ~ '\",' }} | ||
{% endif %} | ||
{% endif %} | ||
{% if item.threads is defined and item.threads != '' %} | ||
{{ ' ' ~ '\"threads\"' ~ ': ' ~ item.threads ~ ',' }} | ||
{% if xc.threads is defined and xc.threads != '' %} | ||
{{ ' ' ~ '\"threads\"' ~ ': ' ~ xc.threads ~ ',' }} | ||
{% endif %} | ||
{% if xc.intensity is defined and xc.intensity != '' %} | ||
{{ ' ' ~ '\"intensity\"' ~ ': ' ~ xc.intensity ~ ',' }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% if xh.enabled is defined and xh.enabled in ['true', 'false'] %} | ||
{{ ' ' ~ '\"enabled\"' ~ ': ' ~ xh.enabled ~ ',' }} | ||
{% endif %} | ||
{% if xh.host is defined and xh.host | ipaddr('host') %} | ||
{{ ' ' ~ '\"host\"' ~ ': \"' ~ xh.host ~ '\",' }} | ||
{% endif %} | ||
{% if xh.port is defined and xh.port != '' %} | ||
{{ ' ' ~ '\"port\"' ~ ': ' ~ xh.port ~ ',' }} | ||
{% endif %} | ||
{% if xh.access_token is defined and xh.access_token != '' %} | ||
{% if xh.access_token == 'null' %} | ||
{{ ' ' ~ '\"access-token\"' ~ ': ' ~ xh.access_token ~ ',' }} | ||
{% else %} | ||
{{ ' ' ~ '\"access-token\"' ~ ': \"' ~ xh.access_token ~ '\",' }} | ||
{% endif %} | ||
{% endif %} | ||
{% if xh.restricted is defined and xh.restricted in ['true', 'false'] %} | ||
{{ ' ' ~ '\"restricted\"' ~ ': ' ~ xh.restricted ~ ',' }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters