Script Crashes after 7 hours of mining.
See original GitHub issueHello. I’m using this script to mine a sha256 genesis block but after 7 hours of mining it crashes with this error. Note: The script actually works if i start it without any parameters(by doing so i presume i mine satoshi’s genesis block and it works )
bits: 0x1d00ffff
Searching for genesis hash..
179738.0 hash/s, estimate: 6.6 hTraceback (most recent call last):
File "genesis.py", line 203, in <module>
main()
File "genesis.py", line 20, in main
genesis_hash, nonce = generate_hash(block_header, algorithm, options.nonce, options.bits)
File "genesis.py", line 140, in generate_hash
data_block = data_block[0:len(data_block) - 4] + struct.pack('<I', nonce)
struct.error: 'I' format requires 0 <= number <= 4294967295
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
For whatever reason my amd mining rig crashes almost once ...
I am using a PCIe splitter. The only thing that reduced the crashes was a task scheduler script to Auto restart the PC...
Read more >How to Run a Mining Rig: 24/7 Uptime
Eliminate (Or At Least Minimize) Crashes; Fully Automate the Restart Procedure in the Event of a Crash · Turn your rig off then...
Read more >Auto-restart crashed mining processes in ethOS 1.2.9
https://trick77.com/auto-restart-crashed-mining-processes-ethos. #. # This script will automatically reboot the mining rig depending on the ...
Read more >Watch utility for the ethminer - Ethereum GPU mining worker ...
It looks like the worker process ethminer.exe for this cryptocurrency miner has some kind of a latent bug that makes it unstable over...
Read more >Mining rig crashing with rx5700 xt sapphire - Hiveon
The miners also restart because of the sapphire GPUs, saying that both “GPU X: detected DEAD (XX:XX.X), will execute restart script watchdog.sh” ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There needs to be code written to also iterate within the coinbase, the famous newspaper headline. 4294967295 is bigger than 0xFFFF FFFF
Same issue. Tried a shorter timestamp and still got the error. Original BTC timestamp is 69, mine was 65 so I think that is not the solution