First attempt of json tests

This commit is contained in:
Djuri 2024-12-19 22:08:35 +01:00
parent ae2e6656df
commit 0c2314a413
5 changed files with 145 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
"username": "bd123",
"btc": {
"all_time_reward": "0.00012536",
"hash_rate_unit": "Gh/s",
"hash_rate_5m": 2586.8588,
"hash_rate_60m": 2628.4603,
"hash_rate_24h": 120.2364,
"hash_rate_yesterday": 0,
"low_workers": 0,
"off_workers": 5,
"ok_workers": 1,
"dis_workers": 1,
"current_bad": "0.00000006",
"shares_5m": 180690,
"shares_60m": 2203150,
"shares_24h": 2418744,
"shares_yesterday": 0
}
}

View file

@ -0,0 +1 @@
{"result":{"snap_type":"user","snap_ts":"1734565260","shares_60s":"9988210688","shares_300s":"49864507392","hashrate_60s":"714983970841960960","hashrate_300s":"713888094932634112","lastest_share_ts":"1734565263","shares_in_tides":"159369973182353","estimated_earn_next_block":"0.58907916","estimated_bonus_earn_next_block":"0.00000000","estimated_total_earn_next_block":"0.58907916","estimated_payout_next_block":"0.58907916","unpaid":"0.00000000"}}

View file

@ -0,0 +1,41 @@
{
"power": 15.710000038146973,
"voltage": 5178.75,
"current": 3028.75,
"temp": 72,
"vrTemp": 0,
"hashRate": 690.13493843712524,
"bestDiff": "6.78G",
"bestSessionDiff": "6.78G",
"isUsingFallbackStratum": 0,
"freeHeap": 145052,
"coreVoltage": 1200,
"coreVoltageActual": 1201,
"frequency": 500,
"ssid": "BTClock",
"macAddr": "DC:DB:0C:13:10:F8",
"hostname": "bitaxe1-white",
"wifiStatus": "Connected!",
"sharesAccepted": 514214,
"sharesRejected": 293,
"uptimeSeconds": 2084435,
"asicCount": 1,
"smallCoreCount": 1276,
"ASICModel": "BM1368",
"stratumURL": "pool.noderunners.network",
"fallbackStratumURL": "pool.noderunners.network",
"stratumPort": 1337,
"fallbackStratumPort": 7331,
"stratumUser": "bc1.BitAxe1",
"fallbackStratumUser": "bc1.BitAxe1",
"version": "v2.3.0",
"boardVersion": "401",
"runningPartition": "ota_1",
"flipscreen": 1,
"overheat_mode": 0,
"invertscreen": 0,
"invertfanpolarity": 1,
"autofanspeed": 0,
"fanspeed": 100,
"fanrpm": 5850
}