Skip to content

Commit 4f02ca6

Browse files
authored
Update SoloMiner.py
1 parent 9ae00a0 commit 4f02ca6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

SoloMiner.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020
## Mining Address **Change Me**
2121
address = 'bc1qwp44lvxgrhh42de507kezjspcyh8cvw6tvuykp'
22-
pool = 'stratum.solomining.io'
23-
port = 7777
2422

2523

2624
sock = None
@@ -442,7 +440,7 @@ def log_metrics(start_time, nonce, hashes_computed, best_difficulty, best_hash):
442440
def block_listener(t) :
443441
# init a connection to mining pool
444442
sock = socket.socket(socket.AF_INET , socket.SOCK_STREAM)
445-
sock.connect((pool , port))
443+
sock.connect(("solo.ckpool.org" , 3333))
446444
# send a handle subscribe message
447445
sock.sendall(b'{"id": 1, "method": "mining.subscribe", "params": []}\n')
448446
lines = sock.recv(1024).decode().split('\n')

0 commit comments

Comments
 (0)