aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
diff options
context:
space:
mode:
authorfyquah <fyquah@protonmail.com>2021-02-27 17:39:09 +0000
committerKiminuo <kiminuo@protonmail.com>2021-10-05 10:42:34 +0200
commit51dbc167e98daab317baa80cf80bfda337672dab (patch)
tree69957736fc65466b945e0fedd9a9527f30f4bb02 /src/rest.cpp
parent3cc95345ca49b87e8caca9a0e6418c63ae1e463a (diff)
downloadbitcoin-51dbc167e98daab317baa80cf80bfda337672dab.tar.xz
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.cpp2
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)