0
can you help with Bitcoin block hashing algorithm ( PHP, C, Python, Javascript) ?
I was working really hard to write block hashing algorithm in plain Javascript. Unfortunately the developed Javascript code is not generating the correct hash.
Yesterday installed Python for Windows XP 32 and run Python hashing code from https://en.bitcoin.it/wiki/Block_hashing_algorithm
and run code to get the correct hash.
Python is very slow so I plan to test block hashing algorithm in C http://pastebin.com/bW3fQA2a
in PHP and modify my Javascript code to generate the correct hash.
Next step is to download hashed blocks from Blockchain via getJason API to verify every nonce generated for the blocks hashed in the past.
Can you help or join me ?
2Can you show us your really hard working implementation in JS? If you really worked (not just googled for 10 minutes, copied and tried to run it), you have an idea how to debug your script. In this case you can narrow it and ask a normal question on SO. Also if Python is very slow (how slow is it? slow, very slow, terribly slow are not really good metrics to describe the speed of a program) why do you think PHP and JS would be faster/much faster/incredibly fast? – Salvador Dali – 2014-02-05T00:17:23.627