diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-12 17:09:23 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-16 08:45:05 -0400 |
commit | fa5b1f067fcf8bebb23455dd8a16cde5068e79cd (patch) | |
tree | 17dc98f13fa5b4015128b86265989a927f68bcdb /src/rpc/blockchain.cpp | |
parent | fa86a4bbfc000593ae4ad9dcdaec3fd0c0406086 (diff) |
rpc: Document all aliases for second arg of getblock
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 07171ab8c4..e02b3c6e8e 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -812,7 +812,7 @@ static UniValue getblock(const JSONRPCRequest& request) "If verbosity is 2, returns an Object with information about block <hash> and information about each transaction. \n", { {"blockhash", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The block hash"}, - {"verbosity", RPCArg::Type::NUM, /* default */ "1", "0 for hex-encoded data, 1 for a json object, and 2 for json object with transaction data"}, + {"verbosity|verbose", RPCArg::Type::NUM, /* default */ "1", "0 for hex-encoded data, 1 for a json object, and 2 for json object with transaction data"}, }, { RPCResult{"for verbosity = 0", |