Bitcoin Forum
December 06, 2016, 04:16:48 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoind stats from API/other method  (Read 883 times)
logicbomb
Newbie
*
Offline Offline

Activity: 4


View Profile
February 29, 2012, 10:06:29 PM
 #1

Hello,

I was a bit disappointed at the lack of documentation for developers surrounding bitcoin specifications and protocols.

Because of this I have some questions;

1.  I need to some stats to work out how update the database of bitcoind (i.e. blocks_i_have/total_blocks)  What is available and how do I get those values?

2. How can I get the time that last block received?  Can this be done from the bitcoind json API?  Or how else can I get this info?

3.  Are the timestamps given from the API based on the times of the local machine or a time agreed upon by the network?  (If the latter, how can I get that time?)

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

Posts: 1481041008

View Profile Personal Message (Offline)

Ignore
1481041008
Reply with quote  #2

1481041008
Report to moderator
logicbomb
Newbie
*
Offline Offline

Activity: 4


View Profile
March 02, 2012, 10:26:33 AM
 #2

Bumb.  Are there no developers in here?

Can someone move this to 'Development & Technical Discussion' ?



What about getting the time of block updated from the last modified timestamp of blkindex.dat or another file?  Is it only modified when it receives a new block?
neofutur
Full Member
***
Offline Offline

Activity: 147



View Profile WWW
March 09, 2012, 10:11:33 AM
 #3

try http://bitcoin.stackexchange.com

make your questions clear/documented, you should have answers

logicbomb
Newbie
*
Offline Offline

Activity: 4


View Profile
March 09, 2012, 11:05:13 AM
 #4

Thanks mate.

http://bitcoin.stackexchange.com/questions/3122/bitcoind-statstics
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!