<p>Regarding pools: when working for a pool, the computer who solves the block doesn't credit its owner directly - it rather credits the pool's bitcoin address. The pool manager then tallies how much work each of the pooled miners delivered for the block, and proceeds to pay them proportionally to it - minus the fee the pool takes, of course.</p>

<p>The only exception is a P2Pool, which work with no centralized pool manager. In these type of pools, each of the peers in the pool ensure they're appropriately credited for their work when a candidate block solution arises.</p>

<p>As far as I know, you can configure your 2 solo-mining computers to either use each their own address or one for both. And no: even if both were using their own addresses and working independently, the processing power of the slower one is not completely wasted. Solving a block is highly random, there's not much chance both would be trying the exact same nonces in sequence. Rather, they'd each try a different set of nonces to solve the block. Obviously, in the long run the faster one will find answers more frequently than the slower one.</p>

CC BY-SA 3.0
2014-01-06T02:44:44.433Z
2014-01-06T02:44:44.433Z
Joe Pineda
<p>I think you have a misunderstanding about how solo mining works. You don't keep using the same address. You generate an ephemeral address and, if you mine a block, you keep its private key and then start using a new address.</p>

<p>If both miners are getting work from the same node, then the node will never assign both miners the same work. If both miners are getting work from different nodes, then they will get different ephemeral addresses.</p>

<p>(If I recall correctly, at one time addresses were reused for mining. But this could cause a very serious problem even with only one miner -- two coinbase transactions in two different blocks could have the same transaction ID!)</p>

CC BY-SA 3.0
2014-01-06T10:39:06.317Z
Note for ya David (and others in the future): For those who know python (or at least use a config file) you set up a mining server like slush0's example stratum-mining-server. You can use the same wallet over and over again with that.
 I know this might not be quite what you were thinking, but its possible. It's in the coinbaser section of slush0's code i believe. (just a little extra info for those in the future wondering. As you said already you were correct that the same address is used more than once by some pools.
Joe White
CC BY-SA 3.0
2014-01-06T17:13:53.613Z
Hmm I never knew about the ephemeral address. What do you mean by "node"? Is that just the next closest computer who's mining on the network?
Aust
CC BY-SA 3.0
2014-01-06T17:41:05.210Z
@Aust The "node" is the computer that is part of the Bitcoin network that is providing information to your miner(s). If you are solo mining, you control it. If you are pool mining, your pool operator does.
David Schwartz
CC BY-SA 3.0
2014-01-06T06:36:45.953Z
2014-01-06T06:45:36.457Z
2014-01-06T06:45:36.457Z
David Schwartz
<p>I understand that each miner is working on a different block. Correct me if I'm wrong but this is because the first transaction in a block basically contains my wallet address so I can receive the bonus of solving the block. Obviously everyone wants to receive the bonus so that first transaction will be pointing to everyone's separate wallet addresses.</p>

<p>Assume that I have two computers solo mining with both pointing to my wallet address, wouldn't this mean my computers are solving the same block? Continuing with this train of thought, wouldn't that mean that my slower computer is basically useless because it would be generating the same hashes as my faster computer?</p>

<p>Now how does this apply to pooled mining? In a pooled community, is everyone solving the same block which has the first transaction pointing to the pool owner who then distributes the coins?</p>

<address><block><hash><mining-technical-details>
When mining with 2 computers, do I need to use 2 separate wallets addresses?
Aust
# When mining with 2 computers, do I need to use 2 separate wallets addresses?

(Asked by: username_0 on 2014-01-05)

I understand that each miner is working on a different block. Correct me if I'm wrong but this is because the first transaction in a block basically contains my wallet address so I can receive the bonus of solving the block. Obviously everyone wants to receive the bonus so that first transaction will be pointing to everyone's separate wallet addresses.

Assume that I have two computers solo mining with both pointing to my wallet address, wouldn't this mean my computers are solving the same block? Continuing with this train of thought, wouldn't that mean that my slower computer is basically useless because it would be generating the same hashes as my faster computer?

Now how does this apply to pooled mining? In a pooled community, is everyone solving the same block which has the first transaction pointing to the pool owner who then distributes the coins?

**Tags:** address, block, hash, mining-technical-details


---

## 2 answers

### Answer by username_1 on 2014-01-06. Score: 2 | Accepted answer

Regarding pools: when working for a pool, the computer who solves the block doesn't credit its owner directly - it rather credits the pool's bitcoin address. The pool manager then tallies how much work each of the pooled miners delivered for the block, and proceeds to pay them proportionally to it - minus the fee the pool takes, of course.

The only exception is a P2Pool, which work with no centralized pool manager. In these type of pools, each of the peers in the pool ensure they're appropriately credited for their work when a candidate block solution arises.

As far as I know, you can configure your 2 solo-mining computers to either use each their own address or one for both. And no: even if both were using their own addresses and working independently, the processing power of the slower one is not completely wasted. Solving a block is highly random, there's not much chance both would be trying the exact same nonces in sequence. Rather, they'd each try a different set of nonces to solve the block. Obviously, in the long run the faster one will find answers more frequently than the slower one.


---

### Answer by username_2 on 2014-01-06. Score: 2

I think you have a misunderstanding about how solo mining works. You don't keep using the same address. You generate an ephemeral address and, if you mine a block, you keep its private key and then start using a new address.

If both miners are getting work from the same node, then the node will never assign both miners the same work. If both miners are getting work from different nodes, then they will get different ephemeral addresses.

(If I recall correctly, at one time addresses were reused for mining. But this could cause a very serious problem even with only one miner -- two coinbase transactions in two different blocks could have the same transaction ID!)

> **Comments:**
> **username_3**: Note for ya username_2 (and others in the future): For those who know python (or at least use a config file) you set up a mining server like slush0's example stratum-mining-server. You can use the same wallet over and over again with that.  I know this might not be quite what you were thinking, but its possible. It's in the coinbaser section of slush0's code i believe. (just a little extra info for those in the future wondering. As you said already you were correct that the same address is used more than once by some pools.  
> **username_0**: Hmm I never knew about the ephemeral address. What do you mean by "node"? Is that just the next closest computer who's mining on the network?  
> **username_2**: @username_0 The "node" is the computer that is part of the Bitcoin network that is providing information to your miner(s). If you are solo mining, you control it. If you are pool mining, your pool operator does.  

---

