Files
bitcoin/src
Vasil Dimov 94d335da7f net: allow CSubNet of non-IP networks
Allow creation of valid `CSubNet` objects of non-IP networks and only
match the single address they were created from (like /32 for IPv4 or
/128 for IPv6).

This fixes a deficiency in `CConnman::DisconnectNode(const CNetAddr& addr)`
and in `BanMan` which assume that creating a subnet from any address
using the `CSubNet(CNetAddr)` constructor would later match that address
only. Before this change a non-IP subnet would be invalid and would not
match any address.
2021-01-10 15:51:15 +01:00
..
2020-12-08 19:26:30 +01:00
2020-12-31 09:45:41 +01:00
2020-11-19 15:48:24 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-08-27 20:07:27 -04:00
2020-07-01 14:44:28 -04:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-11-23 21:02:54 +00:00
2020-12-31 09:45:41 +01:00
2020-10-14 11:18:12 -04:00
2020-10-14 11:18:12 -04:00
2020-10-14 11:18:12 -04:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-07-01 18:03:12 -04:00
2020-12-31 09:45:41 +01:00
2020-04-30 09:19:14 -04:00
2020-12-31 09:45:41 +01:00
2020-06-21 06:02:59 -04:00
2020-06-21 06:02:59 -04:00
2020-12-10 20:46:29 +02:00
2020-07-01 14:44:24 -04:00
2020-10-12 12:14:53 -07:00