| 188 | // |
| 189 | |
| 190 | void 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 | |
| 209 | void Shutdown(NodeContext& node) |
| 210 | { |
no test coverage detected