diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-23 13:46:36 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-23 13:46:36 -0700 |
| commit | 0a7a33ef8fb8cd3cdf25c48bd221298279e690c2 (patch) | |
| tree | 7ddf73a9efffa65aae8d72272326bc05a6c99352 /node/Network.hpp | |
| parent | 32fa0617004e80c99b341eb1b4753705b515b53a (diff) | |
| download | infinitytier-0a7a33ef8fb8cd3cdf25c48bd221298279e690c2.tar.gz infinitytier-0a7a33ef8fb8cd3cdf25c48bd221298279e690c2.zip | |
Instantaneous blacklisting and credential revocation.
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/node/Network.hpp b/node/Network.hpp index d13918cf..37154dc7 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -388,6 +388,17 @@ public: } /** + * Blacklist COM, tags, and capabilities before this time + * + * @param ts Blacklist cutoff + */ + inline void blacklistBefore(const Address &peerAddress,const uint64_t ts) + { + Mutex::Lock _l(_lock); + _memberships[peerAddress].blacklistBefore(ts); + } + + /** * Destroy this network * * This causes the network to disable itself, destroy its tap device, and on |
