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

Function OnRPCStopped

src/init.cpp:377–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377static void OnRPCStopped()
378{
379 rpc_notify_block_change_connection.disconnect();
380 RPCNotifyBlockChange(nullptr);
381 g_best_block_cv.notify_all();
382 LogPrint(BCLog::RPC, "RPC stopped.\n");
383}
384
385void SetupServerArgs(ArgsManager& argsman)
386{

Callers

nothing calls this directly

Calls 2

RPCNotifyBlockChangeFunction · 0.85
disconnectMethod · 0.45

Tested by

no test coverage detected