Re: Security
Bitcointalk · 2010-07-10 12:58:02 UTC
我会开始考虑怎么做。
目前,你可以用 -connect 来变通一下。你可以用 -connect 让它连接到局域网内的本地电脑,比如 -connect=192.168.0.100。如果你启动时不让它连接主网络,难度仍然是最初的低难度。不过如果你做了端口转发,外面的节点还是可能连进来。
用 -connect 时它还是会用 IRC,你觉得当用 -connect 指定只连特定节点时,它是不是就不该上 IRC?-connect 的主要场景是服务器集群:其中两台连到网络,其余的连到这两台。这种情况下,你不会希望用 -connect 的机器上 IRC。
void ThreadIRCSeed(void* parg)
{
if (mapArgs.count("-connect"))
return;
英文原文
I'll start thinking about how to do this.
At the moment, you can kind of use -connect. You can use -connect to make it connect to local computers on your LAN, like -connect=192.168.0.100. If you start it out blank and don't let it connect to the main network, the difficulty is still at the original low difficulty. If you've port-forwarded though, then outside nodes might still connect inward to you.
With -connect it still uses IRC, do you think it shouldn't get on IRC when you're telling it to only connect to specific nodes with -connect? The main scenario for -connect is where you have a server farm, with two connected to the network and the rest connected to the first two. In that case, you wouldn't want the -connect computers on IRC.
void ThreadIRCSeed(void* parg)
{
if (mapArgs.count("-connect"))
return;
