From 457754d2c24f7e53c55f4b68155a5fa702552327 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Fri, 4 May 2012 16:46:22 +0200 Subject: Add -blocknet to prevent connections to a given network --- src/net.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net.h') diff --git a/src/net.h b/src/net.h index 63f8712040..be167b001f 100644 --- a/src/net.h +++ b/src/net.h @@ -54,6 +54,8 @@ enum LOCAL_MAX }; +void SetLimited(enum Network net, bool fLimited = true); +bool IsLimited(const CNetAddr& addr); bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE); bool SeenLocal(const CNetAddr& addr); bool IsLocal(const CNetAddr& addr); -- cgit v1.2.3