Title: block mined by Eligius Post by: p2pbucks on August 13, 2014, 03:03:00 AM 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 :) Title: Re: block mined by Eligius Post by: amaclin on August 13, 2014, 04:05:40 AM 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 Title: Re: block mined by Eligius Post by: p2pbucks on August 15, 2014, 02:12:01 AM 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 :) |