[edit: I just reviewed the winning details. It seems it would not be difficult to write a script to determine the winner... should I?]
I don't have it automated but I've used this method to verify the winner before:
Determine the lucky block (first block after the deadline): 169953
-
https://blockexplorer.com/b/169953Hash from that block:
00000000000005300076544c21d2f352480c1efb4c1cec75125223f66a7015be
Add to that the Mega Millions PowerBall number:
12 35 45 46 47 Mega Ball 12
- http://www.powerball.com
[Update: Ooops, MegaMillions picks != PowerBall picks] all the results I had posted following that are thus invalid. The correct URL for Mega Millions is:
-
http://www.powerball.com/megamillions/mm_numbers.asp]
Add those together:
00000000000005300076544c21d2f352480c1efb4c1cec75125223f66a7015be123545464712
Get the sha256()
6055a779449804c1a4151c2c61addc5143ba498105c197a2ba8c3a170c03316d-
http://www.xorbin.com/tools/sha256-hash-calculatorThe Winning Picks are the first ten from that hash:
6055a77944Create the work file. The address for the March draw was: 1CdGqgJegokVaW5tPgC2vy3dZciggARdmh
$ GET
http://blockexplorer.com/address/1CdGqgJegokVaW5tPgC2vy3dZciggARdmh|grep "/tx/"|cut -d " " -f 3|cut -b 11-74 > workfile
(This grabs the HTML source for all the tickets for the monthly draw address, then cuts away everything but the transaction hashes.)
Remove from workfile any transaction hashes that were disqualified (e.g., entered late, amount was not large enough, etc.)
Determine the longest of the picks where there is at least one match:
$ grep 6|wc -l
$ grep 60|wc -l
$ grep 605|wc -l
$ grep 6055|wc -lThere were no transactoin hashes that had
6055, so the winning pick is one of the ones with
605.
$ grep
605 workfile|awk 'BEGIN {FS = "
6"};{print $0 " " NF-1}'|awk 'BEGIN {FS = "
0"};{print $0 " " NF-1}'|awk 'BEGIN {FS = "
5"};{print $0 " " NF-1}'|sort -rk2
This results in:
a247d96ebcd90bda3f27f8824a98026c086d0da89dd60ba3d26a3954299605d7 6 6 2
17554f9d7de77f067fa6f709155adc4ad60560ca2180b2364d456123192b18f2 6 5 7
72d83f262660589f79c4b09279ffe717735b8f631a83c9413ac1a36a490307e6 6 4 2
5b6a443d317f623c16e7e3f4369bd093d560579dfda4c728d4179ffbfb228651 6 2 4
352c6fc98f21a036a74d12100a838605a5bb0fc7534b1fd6bd9a790f1b8dd976 5 6 5
ca61a3e84def3f879275b07bd41605a340317727948daa095e8555447af66a63 5 4 7
be7ac025e74874cde49640f0d035a2d9465ee1b89700605de8334765cd8f1fe4 4 7 5
98bc4fa7153f2627430210c99605d24c110aad0152834f60c5638713d7324904 4 7 4
ef8605feef9240b75039eb5f975db52a49d8a305138c5f422c22af63e1469e25 3 4 8
b7ec93b1440e21e605b479f36d8f72df89423a24c768709c31880ea49d79d94d 3 4 1There are multiple hashes that have six "6"s in them, so there are ties.
That tie is broken by looking at how many "0"s there are. There is one that has more "0"s than any other, so the tie is broken and we have the March winner:
a247d96ebcd90bda3f27f8824a98026c086d0da89dd60ba3d26a3954299605d7That
is the winning transaction. Looking at that transaction:
2012-02-21 00:19:18
- http://blockexplorer.com/tx/a247d96ebcd90bda3f27f8824a98026c086d0da89dd60ba3d26a3954299605d7There is one one input to that, so that is where the jackpot will be sent:
1FiJ55znEC14bd4xnoX32jnKus6BUGQstn
- http://blockexplorer.com/address/1FiJ55znEC14bd4xnoX32jnKus6BUGQstn**************
Now ... these are
unofficial, possibly flawed results. Don't chuck your wallet if it looks like you lost and don't go nuts ordering new GPUs if it looks like you won!