Browse Source

Do not consider blocked networks local

pull/1/head
Pieter Wuille 11 years ago
parent
commit
1653f97c8f
  1. 3
      src/net.cpp

3
src/net.cpp

@ -214,6 +214,9 @@ bool AddLocal(const CService& addr, int nScore) @@ -214,6 +214,9 @@ bool AddLocal(const CService& addr, int nScore)
if (!GetBoolArg("-discover", true) && nScore < LOCAL_MANUAL)
return false;
if (!IsLimited(addr))
return false;
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);
{

Loading…
Cancel
Save