| 496 | } |
| 497 | |
| 498 | bool GetProxy(enum Network net, proxyType& proxyInfoOut) |
| 499 | { |
| 500 | assert(net >= 0 && net < NET_MAX); |
| 501 | LOCK(cs_proxyInfos); |
| 502 | if (!proxyInfo[net].IsValid()) |
| 503 | return false; |
| 504 | proxyInfoOut = proxyInfo[net]; |
| 505 | return true; |
| 506 | } |
| 507 | |
| 508 | bool SetNameProxy(CService addrProxy) |
| 509 | { |
no test coverage detected