Bitcoin Forum
May 13, 2024, 02:27:42 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
1715610462
Hero Member
*
Offline Offline

Posts: 1715610462

View Profile Personal Message (Offline)

Ignore
1715610462
Reply with quote  #2

1715610462
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715610462
Hero Member
*
Offline Offline

Posts: 1715610462

View Profile Personal Message (Offline)

Ignore
1715610462
Reply with quote  #2

1715610462
Report to moderator
1715610462
Hero Member
*
Offline Offline

Posts: 1715610462

View Profile Personal Message (Offline)

Ignore
1715610462
Reply with quote  #2

1715610462
Report to moderator
1715610462
Hero Member
*
Offline Offline

Posts: 1715610462

View Profile Personal Message (Offline)

Ignore
1715610462
Reply with quote  #2

1715610462
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!