<p>I think you miss general understanding about the Bitcoin mining problem. Try reading "<a href="http://codinginmysleep.com/bitcoin-mining-in-plain-english/" rel="nofollow">Bitcoin mining in plain English</a>", a good article trying to explain mining the easy way.</p>

<p>I'll answer your different questions, but some of them are quite irrelevant.</p>

<ul>
<li><em>What are these competitions/races called? Block bids? Block challenges?</em></li>
</ul>

<p>I assume you mean proposals here. A block try must satisfy certain conditions to be valid. Once a miner finds a valid block, it broadcasts it through the Bitcoin network so that other miners and clients can verify it and, if it is valid, add it to their <a href="https://en.bitcoin.it/wiki/Block_chain" rel="nofollow">block chain</a>.</p>

<ul>
<li><em>What software announces to all the miners that a new "block bid" is ready? In other words, how do miners know to start competing with each other?</em></li>
</ul>

<p>Miners don't compete. When a miner finds a block, it announces this via a Bitcoin client. All other miners will stop their current search for a block and start to find a new block that is valid to follow the last block found by another miner.</p>

<p>It is important to understand that the mining problem does not get's easier to find when you try longer. Every try for a solution has an equal chance of success. It's just about making many tries. So when another miner finds a valid block, it is no problem for you to slightly change the problem you are working on because every try still has an equal chance.</p>

<ul>
<li><em>What software do miners use to compete with? bitcoind? Something else?</em></li>
</ul>

<p>Miners can announce their new blocks with any client that implements the protocol. bitcoind is an obvious choice. However, many people do <a href="https://en.bitcoin.it/wiki/Pooled_mining" rel="nofollow">pooled mining</a>, by which a mining pool gives them parts of the problem and the pool will announce new blocks when one miner finds the solution. This means that pooled miners don't need a Bitcoin client like bitcoind to mine, but only a miner program that supports pooled mining.</p>

<ul>
<li><em>Can miners write custom software the interfaces with #3 above (bitcoind or other), or is that "not allowed"?</em></li>
</ul>

<p>If I understand this right, you ask if miners can write their own Bitcoin clients to announce their blocks? Of course they can. Bitcoin has an open protocol and every client that correctly implements this protocol will be accepted by the network.</p>

<ul>
<li><em>Can miners divide a "block bid" problem over multiple computers, or again, is that "not allowed"?</em></li>
</ul>

<p>Of course. This is what mining pools do essentially. They distribute the problem over all miners that are registered with it. When one of them finds a block, the reward is shares among all connected miners, proportionally with their relative contribution to the problem solving.</p>

<h2>What's allowed and what not?</h2>

<p>To answer your question heading: <strong>everything is allowed</strong>.</p>

<p>You can use whatever techniques to do Bitcoin mining. It is an essential part of Bitcoins security that you cannot cheat, because everything is allowed.</p>

<p>However, when you don't follow the Bitcoin protocol, none of you actions will be accepted by the network. So basically, you can do everything, but there are things that you <em>should not do</em>, because the other people in the Bitcoin network will just ignore you when you do.</p>

CC BY-SA 3.0
2013-04-29T21:12:22.330Z
2013-04-29T21:47:10.650Z
2013-04-29T21:47:10.650Z
Steven Roose
<p>Rough answers to your questions:</p>

<p>1) They don't have a name, the process is just known generically as mining</p>

<p>2) Every miner is working on what they perceive to be the current block.  This is the next block after the ones which they already know about.  If they receive a block (due to someone else finding the block before they do) then they move on to the next one.  There is no inherent finish time for a block, and no gap necessary between mining one block and the next</p>

<p>3) There are various mining programs, both open and closed source, to manage the mining task.  See <a href="https://en.bitcoin.it/wiki/Software#Mining_Pool_Servers_.28backend.29" rel="nofollow">this link</a> for a list of some of them.  A group of miners who decide that they want to work together to solve blocks are called a "mining pool"</p>

<p>4) Miners can and do write their own software to mine.  See <a href="https://en.bitcoin.it/wiki/Software#Mining_apps" rel="nofollow">this link</a> for a list of some of them</p>

<p>5) Mining is a probabilistic process and is inherently distributed: every computer working on a given block is working on solving the same problem.  However, only one computer actually solves the block and wins the mining reward (currently 25 BTC).  Part of the job of a pool manager is to take the mining reward and share it out between the pool participants in a way which is considered fair (different pool have different definitions)</p>

CC BY-SA 3.0
2013-04-29T21:12:42.130Z
2013-04-29T21:12:42.130Z
jgm
<p>To expand on some of the other answers, the way that the mining pools divide up the reward is usually by shares.  The mining pool picks a difficulty level that is not as difficult as that of the network and rewards a share when a hash is found that meets this less-difficult level.  When someone find a hash that's at the network difficulty level, the mining pool operator distributes the reward according to the number of shares, so that participants that did more searching get a bigger share of the reward. </p>

CC BY-SA 3.0
2013-04-29T21:30:55.227Z
2013-04-29T21:30:55.227Z
Eyal
<p>I understand that miner's compete to create blocks that meet certain (very specific) cryptographic criteria. However, I'm still having trouble seeing the "forest through the trees" here, and have a few very-similarly-related questions that I think will tie everything together for me:</p>

<ol>
<li>What are these competitions/races called? Block bids? Block challenges?</li>
<li>What software announces to all the miners that a new "block bid" is ready? In other words, how do miners know to start competing with each other?</li>
<li>What software do miners use to compete with? <code>bitcoind</code>? Something else?</li>
<li>Can miners write custom software the interfaces with #3 above (<code>bitcoind</code> or other), or is that "not allowed"?</li>
<li>Can miners divide a "block bid" problem over multiple computers, or again, is that "not allowed"?</li>
</ol>

<p>I usually don't like to ask "multi-questions" like this one, but these questions are so small/micro in and of themselves, and so closely-related, I think their answer will make for a nice "mining overview"-type question for future readers and newcomers.</p>

<p>Thanks in advance!</p>

CC BY-SA 3.0
2013-04-29T21:37:00.067Z
Have you taken a good look at http://bitcoin.stackexchange.com/questions/148/what-exactly-is-mining/ ?
eMansipater
<bitcoind><block><mining-theory><mining-software><terminology>
Mining operations: what's allowed and what's not?
TicketMonster
# Mining operations: what's allowed and what's not?

(Asked by: username_0 on 2013-04-29)

I understand that miner's compete to create blocks that meet certain (very specific) cryptographic criteria. However, I'm still having trouble seeing the "forest through the trees" here, and have a few very-similarly-related questions that I think will tie everything together for me:

1. What are these competitions/races called? Block bids? Block challenges?
2. What software announces to all the miners that a new "block bid" is ready? In other words, how do miners know to start competing with each other?
3. What software do miners use to compete with? `bitcoind`? Something else?
4. Can miners write custom software the interfaces with #3 above (`bitcoind` or other), or is that "not allowed"?
5. Can miners divide a "block bid" problem over multiple computers, or again, is that "not allowed"?

I usually don't like to ask "multi-questions" like this one, but these questions are so small/micro in and of themselves, and so closely-related, I think their answer will make for a nice "mining overview"-type question for future readers and newcomers.

Thanks in advance!

**Tags:** bitcoind, block, mining-theory, mining-software, terminology

> **Comments:**
> **username_1**: Have you taken a good look at http://bitcoin.stackexchange.com/questions/148/what-exactly-is-mining/ ?  

---

## 3 answers

### Answer by username_2 on 2013-04-29. Score: 2 | Accepted answer

I think you miss general understanding about the Bitcoin mining problem. Try reading "[Bitcoin mining in plain English](http://codinginmysleep.com/bitcoin-mining-in-plain-english/)", a good article trying to explain mining the easy way.

I'll answer your different questions, but some of them are quite irrelevant.

* *What are these competitions/races called? Block bids? Block challenges?*

I assume you mean proposals here. A block try must satisfy certain conditions to be valid. Once a miner finds a valid block, it broadcasts it through the Bitcoin network so that other miners and clients can verify it and, if it is valid, add it to their [block chain](https://en.bitcoin.it/wiki/Block_chain).

* *What software announces to all the miners that a new "block bid" is ready? In other words, how do miners know to start competing with each other?*

Miners don't compete. When a miner finds a block, it announces this via a Bitcoin client. All other miners will stop their current search for a block and start to find a new block that is valid to follow the last block found by another miner.

It is important to understand that the mining problem does not get's easier to find when you try longer. Every try for a solution has an equal chance of success. It's just about making many tries. So when another miner finds a valid block, it is no problem for you to slightly change the problem you are working on because every try still has an equal chance.

* *What software do miners use to compete with? bitcoind? Something else?*

Miners can announce their new blocks with any client that implements the protocol. bitcoind is an obvious choice. However, many people do [pooled mining](https://en.bitcoin.it/wiki/Pooled_mining), by which a mining pool gives them parts of the problem and the pool will announce new blocks when one miner finds the solution. This means that pooled miners don't need a Bitcoin client like bitcoind to mine, but only a miner program that supports pooled mining.

* *Can miners write custom software the interfaces with #3 above (bitcoind or other), or is that "not allowed"?*

If I understand this right, you ask if miners can write their own Bitcoin clients to announce their blocks? Of course they can. Bitcoin has an open protocol and every client that correctly implements this protocol will be accepted by the network.

* *Can miners divide a "block bid" problem over multiple computers, or again, is that "not allowed"?*

Of course. This is what mining pools do essentially. They distribute the problem over all miners that are registered with it. When one of them finds a block, the reward is shares among all connected miners, proportionally with their relative contribution to the problem solving.

## What's allowed and what not?

To answer your question heading: **everything is allowed**.

You can use whatever techniques to do Bitcoin mining. It is an essential part of Bitcoins security that you cannot cheat, because everything is allowed.

However, when you don't follow the Bitcoin protocol, none of you actions will be accepted by the network. So basically, you can do everything, but there are things that you *should not do*, because the other people in the Bitcoin network will just ignore you when you do.


---

### Answer by username_3 on 2013-04-29. Score: 2

Rough answers to your questions:

1) They don't have a name, the process is just known generically as mining

2) Every miner is working on what they perceive to be the current block. This is the next block after the ones which they already know about. If they receive a block (due to someone else finding the block before they do) then they move on to the next one. There is no inherent finish time for a block, and no gap necessary between mining one block and the next

3) There are various mining programs, both open and closed source, to manage the mining task. See [this link](https://en.bitcoin.it/wiki/Software#Mining_Pool_Servers_.28backend.29) for a list of some of them. A group of miners who decide that they want to work together to solve blocks are called a "mining pool"

4) Miners can and do write their own software to mine. See [this link](https://en.bitcoin.it/wiki/Software#Mining_apps) for a list of some of them

5) Mining is a probabilistic process and is inherently distributed: every computer working on a given block is working on solving the same problem. However, only one computer actually solves the block and wins the mining reward (currently 25 BTC). Part of the job of a pool manager is to take the mining reward and share it out between the pool participants in a way which is considered fair (different pool have different definitions)


---

### Answer by username_4 on 2013-04-29. Score: 0

To expand on some of the other answers, the way that the mining pools divide up the reward is usually by shares. The mining pool picks a difficulty level that is not as difficult as that of the network and rewards a share when a hash is found that meets this less-difficult level. When someone find a hash that's at the network difficulty level, the mining pool operator distributes the reward according to the number of shares, so that participants that did more searching get a bigger share of the reward.


---

