MCPcopy Create free account
hub / github.com/ElementsProject/elements / ExecuteCommands

Function ExecuteCommands

src/rpc/server.cpp:441–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441static bool ExecuteCommands(const std::vector<const CRPCCommand*>& commands, const JSONRPCRequest& request, UniValue& result)
442{
443 for (const auto& command : commands) {
444 if (ExecuteCommand(*command, request, result, &command == &commands.back())) {
445 return true;
446 }
447 }
448 return false;
449}
450
451UniValue CRPCTable::execute(const JSONRPCRequest &request) const
452{

Callers 2

executeMethod · 0.85
dumpArgMapMethod · 0.85

Calls 1

ExecuteCommandFunction · 0.85

Tested by

no test coverage detected