| 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); } |
no test coverage detected