Bitcoin Forum
May 24, 2024, 03:52:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-QT getting NEXT BLOCK  (Read 1423 times)
auswalk (OP)
Full Member
***
Offline Offline

Activity: 128
Merit: 100


View Profile
January 03, 2016, 04:30:29 AM
 #1

I'd like to get notified when bitcoin-qt running in daemon mode receives a new block along with all the block contents. Digging thru the RPC calls I can't see to find this.

Also Would polling such a method if it exists be only way to get up to date info on new block and its data?

Thanks!!
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 03, 2016, 08:31:21 AM
 #2

How about:

Code:
 -blocknotify=<cmd>     Execute command when the best block changes (%s in cmd is replaced by block hash)


Im not really here, its just your imagination.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!