Hi , I need some help to analyse data from GetWork:
This is data[:160]
"data":"00000002fe5d6514f4adbf8ae02f3d01589aa0426fb29c3cb8a947b10000004a000000008e60c50
906eb530e4ef5190cb46344eb9e536e7b1154a9103d2a93a8c5f8e70d520a17d31972dbf2000000
00"
"target": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000"
Data splitted:
Ver = '00000002'
Prev Hash = 'fe5d6514f4adbf8ae02f3d01589aa0426fb29c3cb8a947b10000004a00000000'
Merkl = '8e60c50906eb530e4ef5190cb46344eb9e536e7b1154a9103d2a93a8c5f8e70d'
time = '520a17d3'
difficulty = '1972dbf2'
nonce = '00000000'
I know some data is in Big Endian.
I know the data struct is:
Version: 4 Byte
Prev Hash: 32 Byte
Merkl : 32 Byte
time : 4 Byte
difficulty : Byte
nonce : Byte
Hash = HASH256(HASH256(Data)
1) What WORD(4 bytes) I need reverse in the data ? Big Endian -> Little Endian
2) When I want to Double Hash the data, I need to Hash little endian data or Big Endian ?
3) If I want to search my work in '
http://blockexplorer.com/' , what I need to search ? and what Little Endian or Big Endian ?
4) When I send the proof , I send Big Endian Hash ?
5) If you know the block of this work , tell me too.
6) If you have some documentation , this is welcome. I read a lot of forum but it is not clear.
thanks