| 194 | } |
| 195 | |
| 196 | bool 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 |
| 209 | string HelpMessage() { |