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

Function Interrupt

src/init.cpp:190–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188//
189
190void Interrupt(NodeContext& node)
191{
192 InterruptHTTPServer();
193 InterruptHTTPRPC();
194 InterruptRPC();
195 InterruptREST();
196 InterruptTorControl();
197 InterruptMapPort();
198 if (node.connman)
199 node.connman->Interrupt();
200 if (g_txindex) {
201 g_txindex->Interrupt();
202 }
203 ForEachBlockFilterIndex([](BlockFilterIndex& index) { index.Interrupt(); });
204 if (g_coin_stats_index) {
205 g_coin_stats_index->Interrupt();
206 }
207}
208
209void Shutdown(NodeContext& node)
210{

Callers 4

AppInitFunction · 0.85
~CConnmanMethod · 0.85
~BaseIndexMethod · 0.85
appShutdownMethod · 0.85

Calls 8

InterruptHTTPServerFunction · 0.85
InterruptHTTPRPCFunction · 0.85
InterruptRPCFunction · 0.85
InterruptRESTFunction · 0.85
InterruptTorControlFunction · 0.85
InterruptMapPortFunction · 0.85
ForEachBlockFilterIndexFunction · 0.85
InterruptMethod · 0.45

Tested by

no test coverage detected