<p>The <code>-blocknotify="{cmd}"</code> is one of the <a href="https://en.bitcoin.it/wiki/Running_Bitcoin" rel="nofollow">configurable settings</a> when starting the bitcoin daemon. For example, I can start my bitcoind with this command:</p>

<pre><code>bitcoind -blocknotify='echo %s'
</code></pre>

<p>And when a new block is solved, the block hash gets printed.</p>

<pre><code>00000000000000000e979c4a51dc6cb9606e47a2b499f591645f53fe801ae374
</code></pre>

CC BY-SA 3.0
2015-01-27T02:56:21.810Z
2015-01-27T02:56:21.810Z
morsecoder
<p>While setting up a private nomp mining pool as a learning project, The instructions recommended setting up block notify. What are block notifications? </p>

<mining-pools>
What are bitcoin/altcoin block notifications?
Scott
# What are bitcoin/altcoin block notifications?

(Asked by: username_0 on 2015-01-26)

While setting up a private nomp mining pool as a learning project, The instructions recommended setting up block notify. What are block notifications?

**Tags:** mining-pools


---

## 1 answers

### Answer by username_1 on 2015-01-27. Score: 1

The `-blocknotify="{cmd}"` is one of the [configurable settings](https://en.bitcoin.it/wiki/Running_Bitcoin) when starting the bitcoin daemon. For example, I can start my bitcoind with this command:

```
bitcoind -blocknotify='echo %s'

```

And when a new block is solved, the block hash gets printed.

```
00000000000000000e979c4a51dc6cb9606e47a2b499f591645f53fe801ae374

```


---

