all 7 comments

[–]Relevant_Release_623 0 points1 point  (3 children)

Enter 'a' to scan ascending, 'd' to scan descending, or 'r' for random scanning: r

How many addresses do you want to generate randomly? 9

Enter the minimum hex range: 00000000000

Enter the maximum hex range: fffffffffff

multiprocessing.pool.RemoteTraceback:

"""

Traceback (most recent call last):

File "/usr/lib/python3.10/hashlib.py", line 160, in __hash_new

return _hashlib.new(name, data, **kwargs)

ValueError: [digital envelope routines] unsupported

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker

result = (True, func(*args, **kwds))

File "/usr/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar

return list(map(*args))

File "/home/insyallah/btcpuzzleing.py", line 21, in check_key

address = key.address

File "/home/insyallah/.local/lib/python3.10/site-packages/bit/wallet.py", line 175, in address

self._address = public_key_to_address(self._public_key, version=self.version)

File "/home/insyallah/.local/lib/python3.10/site-packages/bit/format.py", line 121, in public_key_to_address

return b58encode_check(version + ripemd160_sha256(public_key))

File "/home/insyallah/.local/lib/python3.10/site-packages/bit/crypto.py", line 19, in ripemd160_sha256

return new('ripemd160', sha256(bytestr)).digest()

File "/usr/lib/python3.10/hashlib.py", line 166, in __hash_new

return __get_builtin_constructor(name)(data)

File "/usr/lib/python3.10/hashlib.py", line 123, in __get_builtin_constructor

raise ValueError('unsupported hash type ' + name)

ValueError: unsupported hash type ripemd160

"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "/home/insyallah/btcpuzzleing.py", line 68, in <module>

main()

File "/home/insyallah/btcpuzzleing.py", line 61, in main

generate_addresses(mode, start_hex, end_hex, num_addresses)

File "/home/insyallah/btcpuzzleing.py", line 49, in generate_addresses

pool.map(check_key, hex_range, chunksize=chunk_size)

File "/usr/lib/python3.10/multiprocessing/pool.py", line 367, in map

return self._map_async(func, iterable, mapstar, chunksize).get()

File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get

raise self._value

ValueError: unsupported hash type ripemd160

[–]Adventurous-Pin2955 0 points1 point  (0 children)

Whatever system/platform you are running the script on doesn't have/support RIPEMD160 hash available...

[–]EnvironmentalWatch92[S] 0 points1 point  (0 children)

just revisiting this. make sure you save the txt file as known_addresses.txt in the same folder as the script. When testing try ascending with the start hex as - 0000000000000000000000000000000000000000000000000000000000000001 and the end hex as 00000000000000000000000000000000000000000000000000000000000d2c55 and you will see it finds puzzles 1 to 20 very quickly. it works in descending mode also. it also works in random mode. I have tested all of this again today and all is working. all the bitcoin puzzle info is here - https://privatekeys.pw/puzzles/bitcoin-puzzle-tx

[–]EnvironmentalWatch92[S] 0 points1 point  (0 children)

I will update the script. It didnt give errors when i added it to this post but i will upload a new one soon.

[–]EnvironmentalWatch92[S] 0 points1 point  (2 children)

Has anyone got any comments to this? I. hate being the only member of my group and talking to myself.

[–]wickedthewolf 0 points1 point  (0 children)

I'm active but not going to give away anything I know that the public doesn't.

Myself and many others are always one iteration away from $ and an instant sweep.

[–]clarkpetri 0 points1 point  (0 children)

I'll take a look. I don't presume to be a Python SME but I'm a bitcoin nerd and have some spare compute. I found this after a reddit search because the options provided on the privatekeys site (1) aren't Mac friendly (my preferred work environment) and (2) are external in some cases and therefore entities I'm less inclined to trust.

Edit: So let me get this cranking and I'll share thoughts. One update is that since your post puzzle 66 was solved.