Closed SatoshiNakamotoBitcoin closed 2 months ago
{"id": 3, "method": "mining.submit", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "6713ca8300003c28", "0c17000000000000", "671ae727", "66ee008e", "07da4000"]}
Tests BitAxe:
{"id": 1, "method": "mining.subscribe", "params": ["bitaxe/BM1368/v2.3.0"]}
{"id": 2, "method": "mining.configure", "params": [["version-rolling"], {"version-rolling.mask": "ffffffff"}]}
{"id": 3, "method": "mining.authorize", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "x"]}
{"id": 4, "method": "mining.suggest_difficulty", "params": [1000]}
Check The Pool by PyBLOCK Crew.
import json from pprint import pprint import signal import sys signal.signal(signal.SIGINT, lambda x, y: sys.exit(0))
def CheckThePool(): try: clear() blogo() output = render("Check The Pool", colors=['yellow'], align='left', font='tiny') print(output) responseA = input("Pool Link or Ip. Like pool.pyblock.xyz: ") responseB = input("Pool Port Stratum. Like 3333: ") os.system(f"nc {responseA} {responseB} -vvv | jq -C") print(output) input("Press Enter to Continue.") clear() blogo() responseC = ("""{"id": 1, "method": "mining.subscribe", "params": []}""") os.system(f"{responseC}") print(output) input("Press Enter to Continue.") clear() blogo() responseD = ("""{"params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "x"], "id": 2, "method": "mining.authorize"}""") os.system(f"{responseD}") print(output) input("Press Enter to Continue.") clear() blogo() responseE = ("""{"id": 3, "result": true, "error": null}""") os.system(f"{responseE}") print(output) input("Press Enter to Continue.") clear() blogo() print(output) input("\a\nContinue...") except: menuSelection()