summaryrefslogtreecommitdiff
path: root/node/Address.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-26 17:45:19 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-26 17:45:19 -0400
commit4e010da54b3d660376e4d583a2ca3e8befd60899 (patch)
treeffcd242ca205bb351556b7ba6e24232451042ccc /node/Address.hpp
parent24bad9f3d1119c4bf80e28f33d4241c7e6221877 (diff)
downloadinfinitytier-4e010da54b3d660376e4d583a2ca3e8befd60899.tar.gz
infinitytier-4e010da54b3d660376e4d583a2ca3e8befd60899.zip
Work in progress...
Diffstat (limited to 'node/Address.hpp')
-rw-r--r--node/Address.hpp9
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