Bitcoin Forum
September 27, 2016, 03:30:33 PM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [PATCH] obtain khash/s speed via RPC "getinfo"  (Read 1727 times)
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
July 28, 2010, 10:19:32 PM
 #1


Here is a simple patch that updates "getinfo" to display khash/s speed information: http://pastebin.ca/1910464

Raw patch download here:  http://pastebin.ca/raw/1910464


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1474990233
Hero Member
*
Offline Offline

Posts: 1474990233

View Profile Personal Message (Offline)

Ignore
1474990233
Reply with quote  #2

1474990233
Report to moderator
lachesis
Full Member
***
Offline Offline

Activity: 210


View Profile
July 28, 2010, 10:31:29 PM
 #2

I already wrote a patch like that. There's a link at:
http://www.alloscomp.com/bitcoin/

Bitcoin Calculator | Scallion | GPG Key | WoT Rating | 1QGacAtYA7E8V3BAiM7sgvLg7PZHk5WnYc
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
July 28, 2010, 10:39:48 PM
 #3

I already wrote a patch like that. There's a link at:
http://www.alloscomp.com/bitcoin/

Has anyone yet written 'listtransactions'?

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
July 28, 2010, 11:13:40 PM
 #4

I already wrote a patch like that. There's a link at:
http://www.alloscomp.com/bitcoin/

Yeah, your patch is nicer than mine.

I extracted just the speed-information bit added to RPC "getinfo": http://pastebin.ca/1910510

Raw: http://pastebin.ca/raw/1910510

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
lachesis
Full Member
***
Offline Offline

Activity: 210


View Profile
July 28, 2010, 11:28:36 PM
 #5

I extracted just the speed-information bit added to RPC "getinfo"
Alright. I'll mail Satoshi my patch - maybe he'll accept it into the mainline.

Bitcoin Calculator | Scallion | GPG Key | WoT Rating | 1QGacAtYA7E8V3BAiM7sgvLg7PZHk5WnYc
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
August 13, 2010, 07:46:28 PM
 #6


This patch has been obsoleted by upstream SVN, and has now been removed from http://gtf.org/garzik/bitcoin/


Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
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!