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

Method startShutdown

src/node/interfaces.cpp:153–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 Shutdown(*m_context);
152 }
153 void startShutdown() override
154 {
155 NodeContext& ctx{*Assert(m_context)};
156 if (!(Assert(ctx.shutdown_request))()) {
157 LogError("Failed to send shutdown signal\n");
158 }
159 Interrupt(*m_context);
160 }
161 bool shutdownRequested() override { return ShutdownRequested(*Assert(m_context)); };
162 bool isSettingIgnored(const std::string& name) override
163 {

Callers 4

requestShutdownMethod · 0.80
GuiMainFunction · 0.80
setNodeMethod · 0.80
shutdownMethod · 0.80

Calls 1

InterruptFunction · 0.85

Tested by

no test coverage detected