Bitcoin Forum
June 20, 2024, 02:35:58 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Latest block hash  (Read 887 times)
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1119
Merit: 1017


ASMR El Salvador


View Profile WWW
September 13, 2013, 03:12:14 PM
 #1

Is there any better than blockexplorer to keep up to date with the latest block hash. I find blockexplorer to lag a lot in having updated data.

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 13, 2013, 03:14:10 PM
 #2

You don't use blockchain.info for that?

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1119
Merit: 1017


ASMR El Salvador


View Profile WWW
September 13, 2013, 03:18:29 PM
 #3

The same, the latest block there seems to be from one hour ago, not from ten minutes ago...
Wait, maybe it is because only after 6 confirmations it gets likely for it to persist in the blockchain. Is that it?

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
September 13, 2013, 03:22:51 PM
 #4

New blocks are found *on average* every 10 minutes - but I've seen it take an hour or even more before for a new block to be found (so probably nothing going wrong at either site).

At other times you might see as much as 6 new blocks found within 10 minutes.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4200
Merit: 8441



View Profile WWW
September 13, 2013, 04:47:42 PM
 #5

You can get it out of bitcoind and bitcoin-qt.
crazydownloaded
Full Member
***
Offline Offline

Activity: 148
Merit: 100

Crazy!


View Profile
September 16, 2013, 05:54:40 PM
 #6

Using bitcoind:

./bitcoind getblockcount
=> returns something like 258345

./bitcoind getblockhash 258345
=> returns the hash of the latest block like 000000000000001bca1bfe721ecf4fb6480835d966762bc840689ed86642c7b6

./bitcoind getblock 000000000000001bca1bfe721ecf4fb6480835d966762bc840689ed86642c7b6
=> returns the block in JSON format


Another possibility, use my service: http://coinplorer.com/BTC ; I'm currently improving the importation delays and will soon offer a push API to be notified of new blocks (websockets).
Coinplorer importation status can be found here: http://coinplorer.com/Console/Status2, updated in real time (but still some delay between importations, will be solved very soon).

If the blockchain changes (because I don't wait for the confirmations to come), the previous blocks gets deleted and replaced by the new ones!

Est. February 2012
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!