RandstormBTC / randstorm

Bitcoin Randstorm Exploit - Very Fast Private Key and Address Generator
45 stars 21 forks source link

After running it for a day it started counting backwards. #4

Open 0tokens opened 8 months ago

0tokens commented 8 months ago

After running it for a day it started counting backwards. By the way, it runs fast and nice, nice project!

wetdro commented 8 months ago

I updated it to record keys already used and save sessions.....that may work for you

RandstormBTC commented 8 months ago

After running it for a day it started counting backwards. By the way, it runs fast and nice, nice project!

That is strange. There are still a few bugs I guess but I've not seen in count backwards yet.

I updated it to record keys already used and save sessions.....that may work for you

That's a good idea, thanks!

0tokens commented 8 months ago

You can replicate the problem with counting quickly by changing to this line: total_keys_generated.value += 10000 After some time the values go below 0. I hope you can solve it since it's a nice Bitcoin lottery player :-) Many thanks in advance!

RandstormBTC commented 8 months ago

It has to do with Python's multiprocessing. the Value type doesn't have built-in atomic operations, so concurrent updates may lead to incorrect results.

wetdro commented 8 months ago

Generated Keys: -2,103,267,295 | Keys/Second: -9,7410 Generated Keys: -2,102,467,295 | Keys/Second: -9,731 Generated Keys: -2,088,767,295 | Keys/Second: -9,660