Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
Andzhig
on 23/04/2023, 01:42:45 UTC
And how does this random.seed() work?

set some value and then Mersenne twister...

Mersenne twister 19937 bit (624·32 (2^32 = 4294967296) — 31)

for example, we take 3 random

random.seed(blablabla)
random.randrange(1,10)
random.randrange(1,10)
random.randrange(1,10)

we get for each of the 3 in order from the vortex of the first three?

                                 1— 31
random.randrange(1,10) 1,4294967296 (624·2)
random.randrange(1,10) 1,4294967296 (624·3)
random.randrange(1,10) 1,4294967296 (624·4)

and if we take 624 random.randrange(1,10) period ends and a new one begins again

                                 1— 31
random.randrange(1,10) 1,4294967296 (624·2) (625)624·2
random.randrange(1,10) 1,4294967296 (624·3) (626)624·2
random.randrange(1,10) 1,4294967296 (624·4) (627)624·2

or he these 19937 bit takes it all at once

in other words, to complete all puzzles with 1 seed() we need to iterate over this seed() to iterate over all variations of this 2^19937 bit?