It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
import hashlib
work="00000001251c6f225f41c2308bb114e6450b2670a49a9134cc6d2ce700000b440000000021863d2ba9531e8d51176c58a8b18aaaa2362eef6841bf72761b3786257f4a674ec84e151a0e119a0d2f9300"
x=""
for i in range(0,len(work),8) :
x+=(work[i:i+8]).decode('hex')[::-1].encode('hex')
print work
print x
x_bin=x.decode('hex')
hash=hashlib.sha256(hashlib.sha256(x_bin).digest()).digest()
print hash.encode('hex')
print hash[::-1].encode('hex')
Proof: 000000006e778f00f9fe8d12b8ad2cce389eb5b44c97261913eb7d13810261a2
sending RPC call: {"method": "getwork",
"params": [ "00000001251c6f225f41c2308bb114e6450b2670a49a9134cc6d2ce7
00000b440000000021863d2ba9531e8d51176c58a8b18aaaa2362eef6841bf72761b
3786257f4a674ec84e151a0e119a0d2f930000000080000000000000000000000000
0000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
hash256(
hash256(
00000280000000000000000000000000000000000
0000000000000000000000000000000000000000000000080000000
00932f0d9a110e1a154ec84e674a7f2586371b7672bf4168ef2e36a2a
a8ab1a8586c17518d1e53a92b3d862100000000440b0000e72c6dcc3
4919aa470260b45e614b18b30c2415f226f1c2501000000
)
)
== 000000006e778f00f9fe8d12b8ad2cce389eb5b44c97261913eb7d13810261a2
hash1="251c6f22".decode("hex")[::-1].encode("hex_codec")
hash2="5f41c230".decode("hex")[::-1].encode("hex_codec")
hash3="8bb114e6".decode("hex")[::-1].encode("hex_codec")
hash4="450b2670".decode("hex")[::-1].encode("hex_codec")
hash5="a49a9134".decode("hex")[::-1].encode("hex_codec")
hash6="cc6d2ce7".decode("hex")[::-1].encode("hex_codec")
hash7="00000b44".decode("hex")[::-1].encode("hex_codec")
hash8="00000000"
JSON protocol response:
{
"error": null,
"result": {
"target": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000",
"midstate": "2eab9f8470f5bb52c6ff06b5624c2075433e76009595424828d33fce5b41afb7",
"hash1": "000000000000000000000000000000000000000000000000000000
00000000000000008000000000000000000000000000000000000000000000000000010000",
"data": "00000001251c6f225f41c2308bb114e6450b2670a49a9134cc6d2ce700000b4400
00000021863d2ba9531e8d51176c58a8b18aaaa2362eef6841bf72761b3786257f4a674ec84e1
51a0e119a0000000000000080000000000000000000000000000000000000000000000000000
0000000000000000000000000000080020000"
},
"id": "1"
[2011-11-19 18:47:24] Proof: 000000006e778f00f9fe8d12b8ad2cce389
eb5b44c97261913eb7d13810261a2
Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? YES (hash < target)
[2011-11-19 18:47:24] thread 1: 9645836 hashes, 488.45 khash/sec
[2011-11-19 18:47:24] DBG: sending RPC call: {"method": "getwork", "params":
[ "00000001251c6f225f41c2308bb114e6450b2670a49a9134cc6d2ce700000b440000
000021863d2ba9531e8d51176c58a8b18aaaa2362eef6841bf72761b3786257f4a674ec
84e151a0e119a0d2f93000000008000000000000000000000000000000000000000000
00000000000000000000000000000000000000080020000" ], "id":1}
import hashlib
header_hex = (
"01000000" +
"251c6f225f41c2308bb114e6450b2670a49a9134cc6d2ce700000b4400000000" +
"21863d2ba9531e8d51176c58a8b18aaaa2362eef6841bf72761b3786257f4a67" +
"4ec84e15".decode("hex")[::-1].encode("hex") +
"1a0e119a".decode("hex")[::-1].encode("hex") +
"0d2f9300".decode("hex")[::-1].encode("hex")
)
header_bin = header_hex.decode('hex')
hash = hashlib.sha256(hashlib.sha256(header_bin).digest()).digest()
hash.encode('hex_codec')
print hash[::-1].encode('hex_codec')