diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2017-07-18 02:19:21 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2017-08-29 00:57:28 +0200 |
commit | 6d2d2eb49389d70a5db327e133c9c90748f82d5f (patch) | |
tree | 61a3e63c1e850983815db56dc9cdf7300866c848 /src | |
parent | 0b019357ff09e7a522307fc271d6b60562a7b890 (diff) |
RPC: gettxout: Slightly improve doc and tests
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/blockchain.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 6178a1c7ab..10eb7f13a3 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -944,9 +944,10 @@ UniValue gettxout(const JSONRPCRequest& request) "gettxout \"txid\" n ( include_mempool )\n" "\nReturns details about an unspent transaction output.\n" "\nArguments:\n" - "1. \"txid\" (string, required) The transaction id\n" - "2. n (numeric, required) vout number\n" - "3. include_mempool (boolean, optional) Whether to include the mempool\n" + "1. \"txid\" (string, required) The transaction id\n" + "2. \"n\" (numeric, required) vout number\n" + "3. \"include_mempool\" (boolean, optional) Whether to include the mempool. Default: true." + " Note that an unspent output that is spent in the mempool won't appear.\n" "\nResult:\n" "{\n" " \"bestblock\" : \"hash\", (string) the block hash\n" |