From 4c24488b8a2d1fa4ad111d3db8985533abc9a104 Mon Sep 17 00:00:00 2001 From: "John C. Vernaleo" Date: Fri, 26 Feb 2016 10:36:45 -0500 Subject: [PATCH] Fix some missing rpc help. Caught by go test. --- rpcserverhelp.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rpcserverhelp.go b/rpcserverhelp.go index 530ed18be4..cb627c3517 100644 --- a/rpcserverhelp.go +++ b/rpcserverhelp.go @@ -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.", @@ -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", @@ -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)},