From ea4e1136dd8b8d7830f770b4dff92f4946a998dd Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 4 Oct 2013 12:24:21 -0400 Subject: Flesh out membership certificate with signature, better serialize/deserialize, and rename parameter to qualifier to make better conceptual sense. --- node/Address.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'node/Address.hpp') diff --git a/node/Address.hpp b/node/Address.hpp index 034bc144..91e971d4 100644 --- a/node/Address.hpp +++ b/node/Address.hpp @@ -231,6 +231,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 * -- cgit v1.2.3