| 530 | } |
| 531 | |
| 532 | bool SetNameProxy(const proxyType &addrProxy) { |
| 533 | if (!addrProxy.IsValid()) |
| 534 | return false; |
| 535 | LOCK(cs_proxyInfos); |
| 536 | nameProxy = addrProxy; |
| 537 | return true; |
| 538 | } |
| 539 | |
| 540 | bool GetNameProxy(proxyType &nameProxyOut) { |
| 541 | LOCK(cs_proxyInfos); |