MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / AddOneShot

Function AddOneShot

src/net.cpp:97–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95static CSemaphore* semOutbound = nullptr;
96
97void AddOneShot(string strDest) {
98 LOCK(cs_vOneShots);
99 vOneShots.push_back(strDest);
100}
101
102uint16_t GetListenPort() { return (uint16_t)(SysCfg().GetArg("-port", SysCfg().GetDefaultPort())); }
103

Callers 3

AppInitFunction · 0.85
ThreadDNSAddressSeedFunction · 0.85
ProcessOneShotFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected