What are bitcoin/altcoin block notifications?

1

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

Scott

Posted 2015-01-26T16:51:58.147

Reputation: 21

Answers

1

The -blocknotify="{cmd}" is one of the configurable settings 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

morsecoder

Posted 2015-01-26T16:51:58.147

Reputation: 12 624