Bitcoin Forum
July 17, 2018, 04:15:11 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [PATCH] RPC: display existing extended-help descriptions  (Read 1561 times)
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1554
Merit: 1001


View Profile
July 30, 2010, 06:24:12 AM
 #1


Several RPC commands have multi-line help descriptions, but they do not appear to be shown anywhere.  The following patch implements a
Code:
help [command]
parameter that provides access to these extended descriptions.

Patch: http://pastebin.ca/1911586
Raw: http://pastebin.ca/raw/1911586

Here is example output for the new "help listreceivedbyaddress" sub-command:
Code:
[jgarzik@bd ~]$ /garz/repo/bitcoin/bitcoind -datadir=/garz/bitcoin/data help listreceivedbyaddress

listreceivedbyaddress [minconf=1] [includeempty=false]
[minconf] is the minimum number of confirmations before payments are included.
[includeempty] whether to include addresses that haven't received any payments.
Returns an array of objects containing:
  "address" : receiving address
  "label" : the label of the receiving address
  "amount" : total amount received by the address
  "confirmations" : number of confirmations of the most recent transaction included

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
1531844111
Hero Member
*
Offline Offline

Posts: 1531844111

View Profile Personal Message (Offline)

Ignore
1531844111
Reply with quote  #2

1531844111
Report to moderator
1531844111
Hero Member
*
Offline Offline

Posts: 1531844111

View Profile Personal Message (Offline)

Ignore
1531844111
Reply with quote  #2

1531844111
Report to moderator
1531844111
Hero Member
*
Offline Offline

Posts: 1531844111

View Profile Personal Message (Offline)

Ignore
1531844111
Reply with quote  #2

1531844111
Report to moderator
MORE CRYPTO, LESS NOISE
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1531844111
Hero Member
*
Offline Offline

Posts: 1531844111

View Profile Personal Message (Offline)

Ignore
1531844111
Reply with quote  #2

1531844111
Report to moderator
1531844111
Hero Member
*
Offline Offline

Posts: 1531844111

View Profile Personal Message (Offline)

Ignore
1531844111
Reply with quote  #2

1531844111
Report to moderator
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1554
Merit: 1001


View Profile
August 13, 2010, 07:45:24 PM
 #2


This patch has been obsoleted by upstream SVN, and has 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:  

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!