MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / mapPort

Method mapPort

src/interfaces/node.cpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 void startShutdown() override { StartShutdown(); }
77 bool shutdownRequested() override { return ShutdownRequested(); }
78 void mapPort(bool use_upnp) override
79 {
80 if (use_upnp) {
81 StartMapPort();
82 } else {
83 InterruptMapPort();
84 StopMapPort();
85 }
86 }
87 void setupServerArgs() override { return SetupServerArgs(); }
88 bool getProxy(Network net, proxyType& proxy_info) override { return GetProxy(net, proxy_info); }
89 size_t getNodeCount(CConnman::NumConnections flags) override

Callers 1

setDataMethod · 0.80

Calls 3

StartMapPortFunction · 0.85
InterruptMapPortFunction · 0.85
StopMapPortFunction · 0.85

Tested by

no test coverage detected