Factor is_address_local code into a tools function

This commit is contained in:
moneromooo-monero 2017-01-28 14:48:45 +00:00
parent 4629ead8c5
commit 9bd9906e8f
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 43 additions and 65 deletions

View file

@ -181,4 +181,6 @@ namespace tools
void set_max_concurrency(unsigned n);
unsigned get_max_concurrency();
bool is_local_address(const std::string &address);
}