I've tried this with 0.8 release branch, 0.9 and head. I get the same results for each.
The getdifficulty returns 1.0 and the found blocks confirm that this seems to be the case.
However, getblocktemplate is showing a much harder difficulty in the target:
00000000000003a2d80000000000000000000000000000000000000000000000
Broken up for readability:
00000000000003a2
d800000000000000
0000000000000000
0000000000000000
For that difficulty it should be something like:
0000000100000000
0000000000000000
0000000000000000
0000000000000000
The most recent found block agrees with this:
0000000076f8abad2
./bitcoind -testnet getblocktemplate
...transactions omitted...
"coinbasevalue" : 2500081729,
"target" : "00000000000003a2d80000000000000000000000000000000000000000000000",
"mintime" : 1424334619,
"mutable" : [
"time",
"transactions",
"prevblock"
],
"noncerange" : "00000000ffffffff",
"sigoplimit" : 20000,
"sizelimit" : 1000000,
"curtime" : 1424334619,
"bits" : "1a03a2d8",
"height" : 323482
}
./bitcoind -testnet getdifficulty
1.00000000
I'm trying to run some blocks on testnet to make sure my mining pool software still works correctly.