<p>Support for the built-in CPU miner was removed in Bitcoin Core v0.13 (see <a href="https://bitcoin.org/en/release/v0.13.0#removal-of-internal-miner" rel="nofollow noreferrer">https://bitcoin.org/en/release/v0.13.0#removal-of-internal-miner</a>), so this issue is moot.</p>

<p>Historically speaking, the built in miner asked the built-in wallet for an address. So it was not configurable - you just had to use the internal wallet RPC to manage the funds you got out of mining.</p>

CC BY-SA 3.0
2017-06-28T15:59:11.757Z
2017-06-28T15:59:11.757Z
Pieter Wuille
<p>I could not find any mentions in the docs but traced down in the source, it appears that when the Wallet is generated a dedicated <a href="https://github.com/bitcoin/bitcoin/blob/0.12/src/wallet/wallet.cpp#L2791" rel="nofollow noreferrer">Miner address is created</a> and then the Miner main thread loads the wallet and <a href="https://github.com/bitcoin/bitcoin/blob/0.12/src/miner.cpp#L421" rel="nofollow noreferrer">uses that address for mining</a>.</p>

<p>Note: the Mining functionality was <a href="https://bitcoin.stackexchange.com/a/49696/52446">removed in version 0.13.0</a>.</p>

CC BY-SA 3.0
2017-06-28T15:59:38.253Z
2017-06-28T15:59:38.253Z
Gábor Héja
<p>I am using a RPi3 as a stock bitcoin mining node. I am getting it all set up. I am not expecting to ever actually mine any coin. I am just doing it for fun and learning.</p>

<p>I know that if my node were to mine a block it would create a transaction for the bitcoins that it earns by doing so.</p>

<p>My question is where do I set that public wallet address to receive those coins? I am using a tutorial to set up the software and it doesn't say anything about setting that address.</p>

<p>I have also searched everywhere I can think of and can't find any information on it.</p>

<wallet><address><miner-configuration>
RPi3 Mining Node Wallet Address Configuration
Mem
# RPi3 Mining Node Wallet Address Configuration

(Asked by: username_0 on 2017-06-28)

I am using a RPi3 as a stock bitcoin mining node. I am getting it all set up. I am not expecting to ever actually mine any coin. I am just doing it for fun and learning.

I know that if my node were to mine a block it would create a transaction for the bitcoins that it earns by doing so.

My question is where do I set that public wallet address to receive those coins? I am using a tutorial to set up the software and it doesn't say anything about setting that address.

I have also searched everywhere I can think of and can't find any information on it.

**Tags:** wallet, address, miner-configuration


---

## 2 answers

### Answer by username_1 on 2017-06-28. Score: 1

Support for the built-in CPU miner was removed in Bitcoin Core v0.13 (see <https://bitcoin.org/en/release/v0.13.0#removal-of-internal-miner>), so this issue is moot.

Historically speaking, the built in miner asked the built-in wallet for an address. So it was not configurable - you just had to use the internal wallet RPC to manage the funds you got out of mining.


---

### Answer by username_2 on 2017-06-28. Score: 0

I could not find any mentions in the docs but traced down in the source, it appears that when the Wallet is generated a dedicated [Miner address is created](https://github.com/bitcoin/bitcoin/blob/0.12/src/wallet/wallet.cpp#L2791) and then the Miner main thread loads the wallet and [uses that address for mining](https://github.com/bitcoin/bitcoin/blob/0.12/src/miner.cpp#L421).

Note: the Mining functionality was [removed in version 0.13.0](https://bitcoin.stackexchange.com/a/49696/52446).


---

