aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-12 06:28:13 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-01-28 08:16:34 +0100
commitfa92912b4bb4629addcbfdfb7cc000be701614af (patch)
tree2e8b64d487f766ec44d057f8f5e8aee6b2354217 /src/rpc/util.h
parentfaf835680be39811827504f77005b6603165f53e (diff)
downloadbitcoin-fa92912b4bb4629addcbfdfb7cc000be701614af.tar.xz
rpc: Use RPCHelpMan for check-rpc-mappings linter
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r--src/rpc/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 942c243718..444a013ca1 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -336,6 +336,8 @@ public:
RPCHelpMan(std::string name, std::string description, std::vector<RPCArg> args, RPCResults results, RPCExamples examples, RPCMethodImpl fun);
std::string ToString() const;
+ /** Append the named args that need to be converted from string to another JSON type */
+ void AppendArgMap(UniValue& arr) const;
UniValue HandleRequest(const JSONRPCRequest& request)
{
Check(request);