When bitcoind is generating Bitcoins, does it change the addresses that are used for receiving the block reward? That is, if I mine two blocks with the same bitcoind wallet.dat, will the same address be credited with both of the rewards?

link|improve this question

72% accept rate
feedback

2 Answers

up vote 1 down vote accepted

If you generate a new block with "getwork" then bitcoind will always use a new address each time.

If you generate a new block with "getmemorypool", then you decide. You can do whatever you want because you are creating the block data yourself. "getmemorypool" is new with bitcoind 0.5.

link|improve this answer
feedback

Each block reward will be credited to a different address. No more than one address per block is used in the generation process.

link|improve this answer
Hmm, is there any way to suppress this behaviour and use one and the same address every time? – ThePiachu Jan 23 at 18:45
You'd need to change the code, though I think it'd be a pretty easy change to make. – theymos Jan 23 at 19:45
feedback

Your Answer

 
or
required, but never shown

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