georgetoloraia / SoloMinerBitcoin

Bitcoin Solo miner Using AI and ML
MIT License
2 stars 0 forks source link

error #1

Open seyidturgut opened 8 months ago

seyidturgut commented 8 months ago

Bitcoin Miner started 00000000 Traceback (most recent call last): File "/Users/seyidturgut/Downloads/SoloMinerBitcoin-main/SoloMining.py", line 363, in thread_bitcoin_miner ret = bitcoin_miner_with_ai(self, model) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/seyidturgut/Downloads/SoloMinerBitcoin-main/SoloMining.py", line 71, in bitcoin_miner_with_ai blockheader = bitcoin_miner(t, model) ^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/seyidturgut/Downloads/SoloMinerBitcoin-main/SoloMining.py", line 290, in bitcoin_miner nNonce = get_random_nonce_from_file(nonce_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/seyidturgut/Downloads/SoloMinerBitcoin-main/SoloMining.py", line 284, in get_random_nonce_from_file random_line = random.choice(lines) ^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/random.py", line 373, in choice raise IndexError('Cannot choose from an empty sequence') IndexError: Cannot choose from an empty sequence 00000000 Traceback (most recent call last):

nonce.txt file is empty, how do I solve this?

georgetoloraia commented 8 months ago

Hello..

For solve nonce.txt

This code dump's all nonce from blcokchain...