diff options
author | Matthew Zipkin <pinheadmz@gmail.com> | 2023-02-27 13:03:45 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2024-03-07 19:13:27 -0500 |
commit | a64a2b77e09bff784a2635ba19ff4aa6582bb5a5 (patch) | |
tree | 445a07f3a8882d1650351ab3bf1fb403bced68cf /src/rpc/server.h | |
parent | df6e3756d6feaf1856e7886820b70874209fd90b (diff) | |
download | bitcoin-a64a2b77e09bff784a2635ba19ff4aa6582bb5a5.tar.xz |
rpc: refactor single/batch requests
Simplify the request handling flow so that errors and results only
come from JSONRPCExec()
Diffstat (limited to 'src/rpc/server.h')
-rw-r--r-- | src/rpc/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index 9a49d82570..2761bcd9db 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -181,7 +181,7 @@ extern CRPCTable tableRPC; void StartRPC(); void InterruptRPC(); void StopRPC(); -std::string JSONRPCExecBatch(const JSONRPCRequest& jreq, const UniValue& vReq); +UniValue JSONRPCExec(const JSONRPCRequest& jreq); // Drop witness when serializing for RPC? bool RPCSerializationWithoutWitness(); |