Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
Feron
on 13/01/2022, 18:05:38 UTC
New test code
you can customize it to suit your needs
puzle address 27 test
code :
from bit import Key
for xx in range(1,100000):
 for x in range(1,100000):
  y = 1
  p = 1
  p = (x - y) / xx # 100000  # 65536
  y += 1
  p *= p
  pp = 1 - p
  if pp >= 0.0: # 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
   c1 = ''.join(str(pp))[11:]
   for c in ("11",):
    ke = Key.from_int(int(c+c1))
    if (str(ke)).endswith("86k>"):
     print(c+c1,ke,x,xx)
    if (str(ke)) == "<PrivateKey: 128z5d7nN7PkCuX5qoA4Ys6pmxUYnEy86k>":
     f=open("win.txt","a")
     f.write(str(c+c1)+(str(ke))+"\n")
     f.close()