diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-03 18:04:08 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-03 18:04:08 -0700 |
| commit | 7e6e56e2bce240a8d3a4f2825d3f110109a541b6 (patch) | |
| tree | b4eb7582e8500dcf4c224571b048dab6d0afda9c /node/Capability.hpp | |
| parent | 67cb03742e09f7ad83c2edd80e0a8ffbfcfa6285 (diff) | |
| download | infinitytier-7e6e56e2bce240a8d3a4f2825d3f110109a541b6.tar.gz infinitytier-7e6e56e2bce240a8d3a4f2825d3f110109a541b6.zip | |
Bunch of work on pushing and replication of tags and capabilities, and protocol cleanup.
Diffstat (limited to 'node/Capability.hpp')
| -rw-r--r-- | node/Capability.hpp | 5 |
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 |
