[doc] Add hint about getmempoolentry to getrawmempool help.

This commit is contained in:
Karl-Johan Alm 2017-05-06 12:51:01 +09:00
parent 9c33ffd387
commit 3a0a5bc234
No known key found for this signature in database
GPG Key ID: 5474FBF5227BEFAD

View File

@ -413,6 +413,7 @@ UniValue getrawmempool(const JSONRPCRequest& request)
throw std::runtime_error( throw std::runtime_error(
"getrawmempool ( verbose )\n" "getrawmempool ( verbose )\n"
"\nReturns all transaction ids in memory pool as a json array of string transaction ids.\n" "\nReturns all transaction ids in memory pool as a json array of string transaction ids.\n"
"\nHint: use getmempoolentry to fetch a specific transaction from the mempool.\n"
"\nArguments:\n" "\nArguments:\n"
"1. verbose (boolean, optional, default=false) True for a json object, false for array of transaction ids\n" "1. verbose (boolean, optional, default=false) True for a json object, false for array of transaction ids\n"
"\nResult: (for verbose = false):\n" "\nResult: (for verbose = false):\n"