Author

Topic: Is blocknotify fired on every new block found? (Read 767 times)

newbie
Activity: 7
Merit: 0
Thanks! The only reason I asked is because the Bitcoin wiki states something about the best block.

Cheers.
legendary
Activity: 1498
Merit: 1000
Is the blocknotify (that is set in the conf file) fired on every new block found in the chain or is it something else?

Cheers.

It takes the your command puts it into a shell by using sh -c command for every new block, it gets relayed.
newbie
Activity: 43
Merit: 0
It's every new block.  If you use the %s value in your shell script (or command line batch file, etc.) it will get replaced with the block's hash value.  Which you can then look up using your favorite service or using json-rpc.
newbie
Activity: 7
Merit: 0
Is the blocknotify (that is set in the conf file) fired on every new block found in the chain or is it something else?

Cheers.
Jump to: