diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-04 12:24:21 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-04 12:24:21 -0400 |
| commit | ea4e1136dd8b8d7830f770b4dff92f4946a998dd (patch) | |
| tree | b965512eaf04205a5b209b7ff160d5650d1ccd31 /node/Address.hpp | |
| parent | ca6c0fad081b48a7316e412675aa8bd30d9a0540 (diff) | |
| download | infinitytier-ea4e1136dd8b8d7830f770b4dff92f4946a998dd.tar.gz infinitytier-ea4e1136dd8b8d7830f770b4dff92f4946a998dd.zip | |
Flesh out membership certificate with signature, better serialize/deserialize, and rename parameter to qualifier to make better conceptual sense.
Diffstat (limited to 'node/Address.hpp')
| -rw-r--r-- | node/Address.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node/Address.hpp b/node/Address.hpp index 034bc144..91e971d4 100644 --- a/node/Address.hpp +++ b/node/Address.hpp @@ -232,6 +232,15 @@ public: inline operator bool() const throw() { return (_a != 0); } /** + * Set to null/zero + */ + inline void zero() + throw() + { + _a = 0; + } + + /** * Check if this address is reserved * * The all-zero null address and any address beginning with 0xff are |
