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

Function Bind

src/init.cpp:196–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196bool static Bind(const CService &addr, uint32_t flags) {
197 if (!(flags & BF_EXPLICIT) && IsLimited(addr))
198 return false;
199 string strError;
200 if (!BindListenPort(addr, strError)) {
201 if (flags & BF_REPORT_ERROR)
202 return InitError(strError);
203 return false;
204 }
205 return true;
206}
207
208// Core-specific options shared between UI, daemon and RPC client
209string HelpMessage() {

Callers 1

AppInitFunction · 0.85

Calls 2

IsLimitedFunction · 0.85
InitErrorFunction · 0.85

Tested by

no test coverage detected