ビットコイン・インスティテュート

[PATCH] RPC:すでにある詳しいヘルプの説明を表示する

1件のメッセージ BitcoinTalk ジェフ・ガージック 2010年7月30日 — 2010年7月30日

RPCコマンドのいくつかには、複数行のヘルプの説明がある。しかし、それはどこにも表示されていないようだ。次のパッチは、その詳しい説明を読めるようにする引数を実装する。

help [command]

パッチ:http://pastebin.ca/1911586
そのままのテキスト:http://pastebin.ca/raw/1911586

新しいサブコマンド「help listreceivedbyaddress」の出力例は、次のとおり。

[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