0

I am setting up a Raspberry Pi 3 to be a full node and miner. I know I will probably never win a mining block. I am doing this for fun and learning.

I do not want to do a pool. I want to just do solo mining to learn how it works.

I set up bitcoind from the official bitcoin 0.13.2 git repo.

I found a cpuminer (minerd) and am setting that up.

The question I have is about the wallet address that will receive any bitcoins that get generated as a reward for mining a block.

I know that when a miner wins the mining of a block it creates a transaction in the block to receive the bit coins that are rewarded.

What I don't understand is how that wallet address gets created.

I have created my own wallet on another computer and would just like any rewarded coins for mining to go into that wallet.

I also know that you can create a wallet on the mining computer (RPi) itself. Is that required?

Please give some instructions on how to set up that mining reward address wherever it needs to be set up.

Like I said I probably will never be lucky enough to mind a block, but if I happen to get lucky I want to have a proper address set up to receive that reward.

1

Based on the source cpuminer has a --coinbase-addr parameter which accepts a bitcoin address (for example: ./cpuminer --coinbase-addr=1abcdef..., I believe you only need to set this.

The program checks if you have provided an address and if not then switches to "getwork" mode, unless you disabled it by adding the --no-gbt command line switch.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.