Title: How to calculate the target from getwork function? Post by: ahtremblay on June 08, 2011, 04:48:50 AM Hello, when I call getwork from linux boitcoind, I obtain a target of 00000000000000000000000000000000000000000000002f931d000000000000. I am not sure what preparatory processing I need to do on this value before comparing it to my hash. My miner will take longer than a billion year to find a hash with 0000000000000000000000000000000000000000000000 leading zeros. Therefore I assume it has to be processed somehow.
Code: ./bitcoind getwork Title: Re: How to calculate the target from getwork function? Post by: Raistlan on June 08, 2011, 10:59:39 AM Here's the current target at Block Explorer: http://blockexplorer.com/q/hextarget
Code: 0000000000001D932F0000000000000000000000000000000000000000000000 Title: Re: How to calculate the target from getwork function? Post by: ahtremblay on June 08, 2011, 07:17:10 PM Wait. This is the target for finding a full block? I thought the getwork function returned a easier problem.
Title: Re: How to calculate the target from getwork function? Post by: foo on June 09, 2011, 10:14:42 AM Wait. This is the target for finding a full block? I thought the getwork function returned a easier problem. bitcoind returns the current network difficulty. You need pool software to get difficulty 1. |