Title: extraNonce Post by: Taras on March 08, 2014, 11:29:43 PM Is there a way to view the extraNonce value of a generation tx? ???
Title: Re: extraNonce Post by: Remember remember the 5th of November on March 08, 2014, 11:41:09 PM In the reference client, the coinbase is like so
pblock->vtx[0].vin[0].scriptSig = (CScript() << nHeight << CBigNum(nExtraNonce)) + COINBASE_FLAGS; so after nheight comes extranonce, but sadly doesn't seem to be like that from bigger pools. Title: Re: extraNonce Post by: Taras on March 08, 2014, 11:56:01 PM Here are the coinbases of the first few blocks:
0 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e2062726 96e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73 1 04ffff001d0104 2 04ffff001d010b 3 04ffff001d010e 4 04ffff001d011a 5 04ffff001d0120 That would mean the extraNonce values are: 0 4 1 4 2 11 3 14 4 26 5 32 Fantastic thank you thank you :D Title: Re: extraNonce Post by: Remember remember the 5th of November on March 08, 2014, 11:56:48 PM They don't seem to be there for newer blocks. The last block is/was 46b49 in hex, tried looking for it in little or big-endian format, no dice.
Title: Re: extraNonce Post by: Taras on March 09, 2014, 12:23:56 AM I only needed up to block 36,000; I have the data :)
I'm looking for patterns in early mining. https://i.imgur.com/bEmYkU6.png |