Bitcoin Forum
May 09, 2024, 11:02:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PATCH] obtain khash/s speed via RPC "getinfo"  (Read 8598 times)
jgarzik (OP)
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
1715295734
Hero Member
*
Offline Offline

Posts: 1715295734

View Profile Personal Message (Offline)

Ignore
1715295734
Reply with quote  #2

1715295734
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715295734
Hero Member
*
Offline Offline

Posts: 1715295734

View Profile Personal Message (Offline)

Ignore
1715295734
Reply with quote  #2

1715295734
Report to moderator
1715295734
Hero Member
*
Offline Offline

Posts: 1715295734

View Profile Personal Message (Offline)

Ignore
1715295734
Reply with quote  #2

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

Activity: 210
Merit: 104


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 (OP)
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
jgarzik (OP)
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
lachesis
Full Member
***
Offline Offline

Activity: 210
Merit: 104


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 (OP)
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


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, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
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!