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

Method startShutdown

src/node/interfaces.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 Shutdown(*m_context);
104 }
105 void startShutdown() override
106 {
107 StartShutdown();
108 // Stop RPC for clean shutdown if any of waitfor* commands is executed.
109 if (gArgs.GetBoolArg("-server", false)) {
110 InterruptRPC();
111 StopRPC();
112 }
113 }
114 bool shutdownRequested() override { return ShutdownRequested(); }
115 void mapPort(bool use_upnp, bool use_natpmp) override { StartMapPort(use_upnp, use_natpmp); }
116 bool getProxy(Network net, Proxy& proxy_info) override { return GetProxy(net, proxy_info); }

Callers 3

requestShutdownMethod · 0.80
setNodeMethod · 0.80
shutdownMethod · 0.80

Calls 4

StartShutdownFunction · 0.85
InterruptRPCFunction · 0.85
StopRPCFunction · 0.85
GetBoolArgMethod · 0.80

Tested by

no test coverage detected