MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / appendCommand

Method appendCommand

src/rpc/server.cpp:253–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void CRPCTable::appendCommand(const std::string& name, const CRPCCommand* pcmd)
254{
255 CHECK_NONFATAL(!IsRPCRunning()); // Only add commands before rpc is running
256
257 mapCommands[name].push_back(pcmd);
258}
259
260bool CRPCTable::removeCommand(const std::string& name, const CRPCCommand* pcmd)
261{

Callers 15

RegisterZMQRPCCommandsFunction · 0.80
TransformParamsMethod · 0.80
rpcNestedTestsMethod · 0.80
RegisterNodeRPCCommandsFunction · 0.80
RegisterFeeRPCCommandsFunction · 0.80

Calls 2

IsRPCRunningFunction · 0.85
push_backMethod · 0.45

Tested by 2

TransformParamsMethod · 0.64
rpcNestedTestsMethod · 0.64