I setup a local testnet using geth following these instructions. I was able to mine my initial Ether and all was working. After deploying some contracts I quickly spent all the Ether I had. Now it seems I'm unable to mine any more Ether. How do you continue to fund your account with Ether on a private testnet?
Aren't blocks processed every so often regardless of the number of transactions? That doesn't seem to be happening on my test node.
Updated: Here's the output when I manually start the miner (note, account is unlocked)
>miner.start();
I0128 15:22:16.501677 8525 backend.go:584] Automatic pregeneration of ethash DAG ON (ethash dir: /Users/testgeth/.ethash)
I0128 15:22:16.501789 8525 backend.go:591] checking DAG (ethash dir: /Users/testgeth/.ethash)
I0128 15:22:16.501843 8525 miner.go:119] Starting mining operation (CPU=8 TOT=10)
true
> I0128 15:22:16.503824 8525 worker.go:570] commit new work on block 48 with 0 txs & 0 uncles. Took 1.893754ms
I0128 15:22:16.503953 8525 ethash.go:220] Generating DAG for epoch 0 (size 1073739904) (0000000000000000000000000000000000000000000000000000000000000000)
I0128 15:22:17.432934 8525 ethash.go:237] Done generating DAG for epoch 0, it took 928.992201ms
UPDATE: What seems to work is to send a transaction. Once geth reached the stopping point I mention above, I sent a transaction and the normal block processing began.
eth.coinbase
returns the address you want. Just fyi