[RPC] extend setban to allow subnets

This commit is contained in:
Jonas Schnelli
2017-03-02 13:23:03 -08:00
committed by Jack Grigg
parent 445cd761c5
commit e521939942
7 changed files with 139 additions and 34 deletions
+1
View File
@@ -125,6 +125,7 @@ class CSubNet
friend bool operator==(const CSubNet& a, const CSubNet& b);
friend bool operator!=(const CSubNet& a, const CSubNet& b);
friend bool operator<(const CSubNet& a, const CSubNet& b);
};
/** A combination of a network address (CNetAddr) and a (TCP) port */