Skip to content

Commit

Permalink
Fix some missing rpc help.
Browse files Browse the repository at this point in the history
Caught by go test.
  • Loading branch information
jcvernaleo committed Feb 26, 2016
1 parent fbede49 commit 4c24488
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rpcserverhelp.go
Expand Up @@ -148,10 +148,15 @@ var helpDescsEnUS = map[string]string{
"existsaddress--result0": "Bool showing if address exists or not",

// ExistsLiveTicketCmd help.
"existsliveticket--synopsis": "Test for the existance of the provided address",
"existsliveticket--synopsis": "Test for the existance of the provided ticket",
"existsliveticket-txhash": "The ticket hash to check",
"existsliveticket--result0": "Bool showing if address exists in the live ticket database or not",

// ExistsLiveTicketsCmd help.
"existslivetickets--synopsis": "Test for the existance of the provided tickets",
"existslivetickets-txhashblob": "Blob containing the hashes to check",
"existslivetickets--result0": "Bool showing if address exists in the live ticket database or not",

// GenerateCmd help
"generate--synopsis": "Generates a set number of blocks (simnet or regtest only) and returns a JSON\n" +
" array of their hashes.",
Expand Down Expand Up @@ -432,6 +437,7 @@ var helpDescsEnUS = map[string]string{
// GetRawMempoolCmd help.
"getrawmempool--synopsis": "Returns information about all of the transactions currently in the memory pool.",
"getrawmempool-verbose": "Returns JSON object when true or an array of transaction hashes when false",
"getrawmempool-txtype": "Type of tx to return.",
"getrawmempool--condition0": "verbose=false",
"getrawmempool--condition1": "verbose=true",
"getrawmempool--result0": "Array of transaction hashes",
Expand Down Expand Up @@ -663,6 +669,7 @@ var rpcResultTypes = map[string][]interface{}{
"estimatefee": []interface{}{(*float64)(nil)},
"existsaddress": []interface{}{(*bool)(nil)},
"existsliveticket": []interface{}{(*bool)(nil)},
"existslivetickets": []interface{}{(*bool)(nil)},
"getaddednodeinfo": []interface{}{(*[]string)(nil), (*[]dcrjson.GetAddedNodeInfoResult)(nil)},
"getbestblock": []interface{}{(*dcrjson.GetBestBlockResult)(nil)},
"generate": []interface{}{(*[]string)(nil)},
Expand Down

0 comments on commit 4c24488

Please sign in to comment.