allow blocking whole subnets

This commit is contained in:
moneromooo-monero
2019-03-29 10:47:53 +00:00
parent 515ac2951d
commit 65c4004963
19 changed files with 413 additions and 34 deletions

View File

@@ -70,7 +70,7 @@ namespace net_utils
struct i_connection_filter
{
virtual bool is_remote_host_allowed(const epee::net_utils::network_address &address)=0;
virtual bool is_remote_host_allowed(const epee::net_utils::network_address &address, time_t *t = NULL)=0;
protected:
virtual ~i_connection_filter(){}
};