-onlynet instead of -blocknet

This commit is contained in:
Pieter Wuille
2012-05-14 17:15:58 +02:00
parent 0071a540d4
commit 0f1707de67
3 changed files with 21 additions and 7 deletions

View File

@@ -57,6 +57,7 @@ enum
};
void SetLimited(enum Network net, bool fLimited = true);
bool IsLimited(enum Network net);
bool IsLimited(const CNetAddr& addr);
bool AddLocal(const CService& addr, int nScore = LOCAL_NONE);
bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE);