diff options
author | fyquah <fyquah@protonmail.com> | 2021-02-27 17:39:09 +0000 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2021-10-05 10:42:34 +0200 |
commit | 51dbc167e98daab317baa80cf80bfda337672dab (patch) | |
tree | 69957736fc65466b945e0fedd9a9527f30f4bb02 /src/rest.cpp | |
parent | 3cc95345ca49b87e8caca9a0e6418c63ae1e463a (diff) |
rpc: Add level 3 verbosity to getblock RPC call.
Display the prevout in transaction inputs when calling getblock level 3
verbosity.
Co-authored-by: Luke Dashjr <luke_github1@dashjr.org>
Co-authored-by: 0xB10C <19157360+0xB10C@users.noreply.github.com>
Diffstat (limited to 'src/rest.cpp')
-rw-r--r-- | src/rest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.cpp b/src/rest.cpp index d442a5e9fb..e21fd8dad5 100644 --- a/src/rest.cpp +++ b/src/rest.cpp @@ -327,7 +327,7 @@ static bool rest_block(const std::any& context, static bool rest_block_extended(const std::any& context, HTTPRequest* req, const std::string& strURIPart) { - return rest_block(context, req, strURIPart, TxVerbosity::SHOW_DETAILS); + return rest_block(context, req, strURIPart, TxVerbosity::SHOW_DETAILS_AND_PREVOUT); } static bool rest_block_notxdetails(const std::any& context, HTTPRequest* req, const std::string& strURIPart) |