diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-04 16:46:22 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-11 15:29:19 +0200 |
commit | 457754d2c24f7e53c55f4b68155a5fa702552327 (patch) | |
tree | a61edc73a6163a5ec71dcc2cb4822950130e5d7a /src/net.h | |
parent | c5b3ffd8d5d61b0adb69882efd72f2d4e89f62d6 (diff) |
Add -blocknet to prevent connections to a given network
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |