Bitcoin Forum
September 27, 2018, 10:26:18 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Is blocknotify fired on every new block found?  (Read 719 times)
WatchTheif
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 09, 2014, 06:34:06 PM
 #1

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.
1538087178
Hero Member
*
Offline Offline

Posts: 1538087178

View Profile Personal Message (Offline)

Ignore
1538087178
Reply with quote  #2

1538087178
Report to moderator
1538087178
Hero Member
*
Offline Offline

Posts: 1538087178

View Profile Personal Message (Offline)

Ignore
1538087178
Reply with quote  #2

1538087178
Report to moderator
1538087178
Hero Member
*
Offline Offline

Posts: 1538087178

View Profile Personal Message (Offline)

Ignore
1538087178
Reply with quote  #2

1538087178
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538087178
Hero Member
*
Offline Offline

Posts: 1538087178

View Profile Personal Message (Offline)

Ignore
1538087178
Reply with quote  #2

1538087178
Report to moderator
1538087178
Hero Member
*
Offline Offline

Posts: 1538087178

View Profile Personal Message (Offline)

Ignore
1538087178
Reply with quote  #2

1538087178
Report to moderator
Ayakashi
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile WWW
April 09, 2014, 08:56:14 PM
 #2

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.
gweedo
Legendary
*
Offline Offline

Activity: 1246
Merit: 1000


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
April 09, 2014, 08:59:49 PM
 #3

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.

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
WatchTheif
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 09, 2014, 09:31:10 PM
 #4

Thanks! The only reason I asked is because the Bitcoin wiki states something about the best block.

Cheers.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!