summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index c80f1cba..e8d6e2a5 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -258,6 +258,12 @@ public:
bool gate(const SharedPtr<Peer> &peer,const Packet::Verb verb,const uint64_t packetId);
/**
+ * @param peer Peer to check
+ * @return True if peer has recently been a valid member of this network
+ */
+ bool recentlyAllowedOnNetwork(const SharedPtr<Peer> &peer) const;
+
+ /**
* Perform cleanup and possibly save state
*/
void clean();