Can someone please explain me how the lottery process works?
For example, I have tried to reproduce the process on the last round (158), these are my results:
[SERVER SEED]:[BLOCK HASH]:[WINNING POSITION]
[2b4505f844cefb56df5a0eaf93c7ce28e669d383ac2e8933d380d0de396b5108]:[00000000000000000026dae683c98172bcbd831b9c2658ef80e84f690254ac62]:[1]
SHA256 Hash of the string: 7A0550680C0804BC580DED2A6261C2C512A9A87C233FA1DD77C72DB88B03FECA
First 8 characters of the SHA256: 7A055068
Hex to dex [NUM1]: 7A055068 ---> 2047168616
[NUM1] / 4294967295 * (817,477,438 - 1) = 389.645.378 = NUM2
ID Winner: 9843171
So why the first winner is 13331695?
OK, the [ ] brackets are not actually included in the string so it should look like this:
2b4505f844cefb56df5a0eaf93c7ce28e669d383ac2e8933d380d0de396b5108:00000000000000000026dae683c98172bcbd831b9c2658ef80e84f690254ac62:1
Try it again like that and you should get the correct result.
Nope, still not having the same result:
2b4505f844cefb56df5a0eaf93c7ce28e669d383ac2e8933d380d0de396b5108:00000000000000000026dae683c98172bcbd831b9c2658ef80e84f690254ac62:1
SHA256 of the string: d83ff92d435f4ba278cd436ed790f129adea20896e207fc4f5ac50e7050d8f80
first 8 characters: d83ff92d
Hex to Dex [NUM1]: d83ff92d --> 3628071213
[NUM1] / 4294967295 * (817,477,438 - 1) = 690.544.573 = NUM2
ID Winner: 13819812
So still not 13331695... Can you please explain?