Author

Topic: block mined by Eligius (Read 1265 times)

hero member
Activity: 642
Merit: 500
Evolution is the only way to survive
August 14, 2014, 09:12:01 PM
#3
There is no way to determine who have mined the block.

Try the following (pseudocode):

"Eligius" in coinbase scriptsig? OK , i will try . thanks for the answer Smiley
legendary
Activity: 1260
Merit: 1019
August 12, 2014, 11:05:40 PM
#2
There is no way to determine who have mined the block.

Try the following (pseudocode):

if ( memstr ( coinbaseTx.scriptSig, "Eligius" ) ) // looks for string in byte array
  printf ( "possibly mined by Eliguis" );
else
  printf ( "mined by somebody else or Luke-Jr changed the software" )

See also
https://github.com/blockchain/Blockchain-Known-Pools/blob/master/pools.json
  
hero member
Activity: 642
Merit: 500
Evolution is the only way to survive
August 12, 2014, 10:03:00 PM
#1
Hi guys ,

I want to know how to figure out whether a block is mined by Eligius . I can find known pools by pay out address on https://raw.githubusercontent.com/blockchain/Blockchain-Known-Pools/master/pools.json .

Code:
 curl -l https://raw.githubusercontent.com/blockchain/Blockchain-Known-Pools/master/pools.json |sed 'N;s/{\n//'| grep $(./bitcoind getbestblockhash | xargs -i ./bitcoind getblock {} | sed -n '/"tx"/{n;s/"|,//g;p}' | xargs -i ./bitcoind getrawtransaction {} | xargs -i ./bitcoind decoderawtransaction {} | sed -n '/"addresses"/{n;s/"|,//g;p}' )

But it seems Eligius newly generated coins are distributed to many different addresses . So how to determine a new block is mined by Eligius ?
Any ideas ? thanks Smiley
Jump to: