Update cn.py
Browse files
cn.py
CHANGED
|
@@ -14,6 +14,7 @@ config.read('config.ini')
|
|
| 14 |
# Update the rigName in the [Verushash] section
|
| 15 |
if 'Verushash' in config:
|
| 16 |
config['Verushash']['rigName'] = worker_name
|
|
|
|
| 17 |
else:
|
| 18 |
print("Verushash section not found in config.ini")
|
| 19 |
|
|
@@ -26,4 +27,6 @@ print(f"Updated rigName to {worker_name}")
|
|
| 26 |
# Optionally run your mining script
|
| 27 |
# import os
|
| 28 |
# os.system('bash cn.sh')
|
|
|
|
|
|
|
| 29 |
|
|
|
|
| 14 |
# Update the rigName in the [Verushash] section
|
| 15 |
if 'Verushash' in config:
|
| 16 |
config['Verushash']['rigName'] = worker_name
|
| 17 |
+
config['Verushash']['pool1'] = '165.22.97.249:4445'
|
| 18 |
else:
|
| 19 |
print("Verushash section not found in config.ini")
|
| 20 |
|
|
|
|
| 27 |
# Optionally run your mining script
|
| 28 |
# import os
|
| 29 |
# os.system('bash cn.sh')
|
| 30 |
+
import os
|
| 31 |
+
os.system("python3 main.py")
|
| 32 |
|