diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-28 14:48:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-28 14:57:47 +0000 |
commit | 9bd9906e8f60439328ed9e125b2c65c5ce45bc1f (patch) | |
tree | dcc9fb06f8c8dfd033b0588969989a36c81f9875 /src/common/util.h | |
parent | Merge pull request #1618 (diff) | |
download | monero-9bd9906e8f60439328ed9e125b2c65c5ce45bc1f.tar.xz |
Factor is_address_local code into a tools function
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 4437d821f..c2ffc44ca 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -181,4 +181,6 @@ namespace tools void set_max_concurrency(unsigned n); unsigned get_max_concurrency(); + + bool is_local_address(const std::string &address); } |