aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/release-process.txt1
-rw-r--r--src/net.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/release-process.txt b/doc/release-process.txt
index 00fafa4818..efa2063459 100644
--- a/doc/release-process.txt
+++ b/doc/release-process.txt
@@ -93,6 +93,7 @@
* create SHA256SUMS for builds, and PGP-sign it
* update bitcoin.org version
+ make sure all OS download links go to the right versions
* update forum version
diff --git a/src/net.cpp b/src/net.cpp
index 82a215c68a..698aa91de1 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -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);
{