Bitcoin Forum
May 12, 2024, 09:20:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind stats from API/other method  (Read 1031 times)
logicbomb (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


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

Posts: 1715505629

View Profile Personal Message (Offline)

Ignore
1715505629
Reply with quote  #2

1715505629
Report to moderator
1715505629
Hero Member
*
Offline Offline

Posts: 1715505629

View Profile Personal Message (Offline)

Ignore
1715505629
Reply with quote  #2

1715505629
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715505629
Hero Member
*
Offline Offline

Posts: 1715505629

View Profile Personal Message (Offline)

Ignore
1715505629
Reply with quote  #2

1715505629
Report to moderator
1715505629
Hero Member
*
Offline Offline

Posts: 1715505629

View Profile Personal Message (Offline)

Ignore
1715505629
Reply with quote  #2

1715505629
Report to moderator
1715505629
Hero Member
*
Offline Offline

Posts: 1715505629

View Profile Personal Message (Offline)

Ignore
1715505629
Reply with quote  #2

1715505629
Report to moderator
logicbomb (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


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: 146
Merit: 100



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

try http://bitcoin.stackexchange.com

make your questions clear/documented, you should have answers
logicbomb (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


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:  

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