<p>It is possible that you found a block, but it got orphaned. Another miner may have found a block around the same time, and for whatever reason, the next miner to find a block chose to link to theirs instead of yours.</p>

<p>This happens a lot on testnet because of a special rule that if no block is found for 20 minutes, the difficulty drops temporarily to 1. When this happens, typically lots of people find blocks right away, and it's a toss up which one is used by the next miner. </p>

<p>You could inspect debug.log if you want to know exactly what happened.</p>

CC BY-SA 3.0
2014-03-03T15:06:06.133Z
Sounds reasonable
Roman Mandeleil
CC BY-SA 3.0
2014-03-02T14:26:18.440Z
2014-03-02T14:26:18.440Z
Nate Eldredge
<p>The address is created in the wallet that is controlled by bitcoin-qt, so it will eventually pop up in your transactions, but the coins take time to mature. This is a security precaution to avoid transactions that spend coins from a block that will later be replaced. Using the <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list" rel="nofollow">Bitcoin JSON-RPC</a> might show them already even if they have not matured yet:</p>

<pre><code>./bitcoin-qt -testnet listunspent 0
</code></pre>

<p>should list all unspent transaction outputs with at least 0 confirmations, i.e., everything. One of them should be your reward. From the output you can deduce the generating transaction's Hash and from there you can simply use <code>./bitcoin-qt -testnet gettransaction &lt;txid&gt;</code> to get details about the transaction.</p>

CC BY-SA 3.0
2013-11-03T10:01:14.740Z
./bitcoin-qt -testnet listunspent 0 - tried that one, on windows it just run the application no list printed...
Roman Mandeleil
CC BY-SA 3.0
2014-04-07T10:51:33.980Z
It's actually `bitcoind -testnet listunspent 0`, once you have the `bitcoind -testnet -daemon` running.
gak
CC BY-SA 3.0
2013-11-02T10:52:46.810Z
2013-11-02T10:52:46.810Z
cdecker
<p>I am trying to generate some coins with 
the client ./bitcoin-qt -testnet -gen
How can I config to what address the money go ? </p>

<p>p.s.: actually I got notification for mining success but no coins in the wallet.</p>

CC BY-SA 3.0
2013-11-02T03:12:56.413Z
It takes 50 blocks for the wallet to have the coins.  you should see the pending transaction
makerofthings7
<bitcoin-core><testnet><miner-configuration>
Mining on the testnet: how to configure bitcoin-qt?
Roman Mandeleil
# Mining on the testnet: how to configure bitcoin-qt?

(Asked by: username_0 on 2013-11-01)

I am trying to generate some coins with
the client ./bitcoin-qt -testnet -gen
How can I config to what address the money go ?

p.s.: actually I got notification for mining success but no coins in the wallet.

**Tags:** bitcoin-core, testnet, miner-configuration

> **Comments:**
> **username_1**: It takes 50 blocks for the wallet to have the coins.  you should see the pending transaction  

---

## 2 answers

### Answer by username_2 on 2014-03-02. Score: 2

It is possible that you found a block, but it got orphaned. Another miner may have found a block around the same time, and for whatever reason, the next miner to find a block chose to link to theirs instead of yours.

This happens a lot on testnet because of a special rule that if no block is found for 20 minutes, the difficulty drops temporarily to 1. When this happens, typically lots of people find blocks right away, and it's a toss up which one is used by the next miner.

You could inspect debug.log if you want to know exactly what happened.

> **Comments:**
> **username_0**: Sounds reasonable  

---

### Answer by username_3 on 2013-11-02. Score: 1

The address is created in the wallet that is controlled by bitcoin-qt, so it will eventually pop up in your transactions, but the coins take time to mature. This is a security precaution to avoid transactions that spend coins from a block that will later be replaced. Using the [Bitcoin JSON-RPC](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list) might show them already even if they have not matured yet:

```
./bitcoin-qt -testnet listunspent 0

```

should list all unspent transaction outputs with at least 0 confirmations, i.e., everything. One of them should be your reward. From the output you can deduce the generating transaction's Hash and from there you can simply use `./bitcoin-qt -testnet gettransaction <txid>` to get details about the transaction.

> **Comments:**
> **username_0**: ./bitcoin-qt -testnet listunspent 0 - tried that one, on windows it just run the application no list printed...  
> **username_4**: It's actually `bitcoind -testnet listunspent 0`, once you have the `bitcoind -testnet -daemon` running.  

---

