diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-26 17:45:19 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-09-26 17:45:19 -0400 |
| commit | 4e010da54b3d660376e4d583a2ca3e8befd60899 (patch) | |
| tree | ffcd242ca205bb351556b7ba6e24232451042ccc /node/Address.hpp | |
| parent | 24bad9f3d1119c4bf80e28f33d4241c7e6221877 (diff) | |
| download | infinitytier-4e010da54b3d660376e4d583a2ca3e8befd60899.tar.gz infinitytier-4e010da54b3d660376e4d583a2ca3e8befd60899.zip | |
Work in progress...
Diffstat (limited to 'node/Address.hpp')
| -rw-r--r-- | node/Address.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/node/Address.hpp b/node/Address.hpp index 51dd84ec..034bc144 100644 --- a/node/Address.hpp +++ b/node/Address.hpp @@ -232,15 +232,6 @@ public: inline operator bool() const throw() { return (_a != 0); } /** - * @return Sum of all bytes in address - */ - inline unsigned int sum() const - throw() - { - return (unsigned int)(((_a >> 32) & 0xff) + ((_a >> 24) & 0xff) + ((_a >> 16) & 0xff) + ((_a >> 8) & 0xff) + (_a & 0xff)); - } - - /** * Check if this address is reserved * * The all-zero null address and any address beginning with 0xff are |
