I kept running the patched version on 2 machines and the following has happened 5 times: bitcoind crashes and debug.log contains the following:
proof-of-work found
hash: 00000000001c3530e42b2c7e1a20de01436882d0c1de0b63db6be8e6194255dd
target: 00000000010c5a00000000000000000000000000000000000000000000000000
CBlock(hash=00000000001c3530, ver=1, hashPrevBlock=0000000000253ab5, hashMerkleRoot=89541f, nTime=1280867359, nBits=1c010c5a, nNonce=3915571979, vtx=2)
CTransaction(hash=4fcb8e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
CTxIn(COutPoint(000000, -1), coinbase 045a0c011c021b04)
CTxOut(nValue=50.00000000, scriptPubKey=0xCE5264238BAC29160CDC9C)
CTransaction(hash=8f2466, ver=1, vin.size=1, vout.size=1, nLockTime=0)
CTxIn(COutPoint(77aaae, 1), scriptSig=0x01F561A9044BF348CEF6F4)
CTxOut(nValue=5.00000000, scriptPubKey=OP_DUP OP_HASH160 0xB13A)
vMerkleTree: 4fcb8e 8f2466 89541f
08/03/10 20:29 generated 50.00
AddToWallet 4fcb8e new
AddToBlockIndex: new best=00000000001c3530 height=72112
ProcessBlock: ACCEPTED
sending: inv
I guess this means that a new block has been generated. But when I restart bitcoind the balance is still zero. When I ask for a list of generated blocks I get the following:
$ ./bitcoind listgenerated
[
{
"value" : 50.00000000000000,
"maturesIn" : -1,
"accepted" : false,
"confirmations" : 0,
"genTime" : 1280867359
}
]
(listgenerated is from the patch at
http://www.alloscomp.com/bitcoin/)
I guess this means that my client produced a block but it crashed before it was able to broadcast it.