diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-01-12 06:28:13 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-01-28 08:16:34 +0100 |
commit | fa92912b4bb4629addcbfdfb7cc000be701614af (patch) | |
tree | 2e8b64d487f766ec44d057f8f5e8aee6b2354217 /src/rpc/util.h | |
parent | faf835680be39811827504f77005b6603165f53e (diff) |
rpc: Use RPCHelpMan for check-rpc-mappings linter
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r-- | src/rpc/util.h | 2 |
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); |