summaryrefslogtreecommitdiff
path: root/node/Capability.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Capability.hpp')
-rw-r--r--node/Capability.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Capability.hpp b/node/Capability.hpp
index 82342874..d050b2b8 100644
--- a/node/Capability.hpp
+++ b/node/Capability.hpp
@@ -110,6 +110,11 @@ public:
inline uint64_t networkId() const { return _nwid; }
/**
+ * @return Expiration time relative to network config timestamp
+ */
+ inline uint64_t expiration() const { return _expiration; }
+
+ /**
* Sign this capability and add signature to its chain of custody
*
* If this returns false, this object should be considered to be