aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2021-11-12 10:06:00 -0500
committerRussell Yanofsky <russ@yanofsky.org>2022-01-06 22:14:16 -0500
commit90fc8b089d591cabff60ee829a33f96c37fd27ba (patch)
tree6858f9c7b95c2af58674a3474a74ac93d4e97ca0 /src/rest.cpp
parent4ada74206a533e14312477f36d5443da5caebba0 (diff)
Add src/node/* code to node:: namespace
Diffstat (limited to 'src/rest.cpp')
-rw-r--r--src/rest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rest.cpp b/src/rest.cpp
index addce6b0ea..063872b47a 100644
--- a/src/rest.cpp
+++ b/src/rest.cpp
@@ -32,6 +32,11 @@
#include <univalue.h>
+using node::GetTransaction;
+using node::IsBlockPruned;
+using node::NodeContext;
+using node::ReadBlockFromDisk;
+
static const size_t MAX_GETUTXOS_OUTPOINTS = 15; //allow a max of 15 outpoints to be queried at once
static constexpr unsigned int MAX_REST_HEADERS_RESULTS = 2000;