summaryrefslogtreecommitdiff
path: root/node/Multicaster.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Multicaster.hpp')
-rw-r--r--node/Multicaster.hpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp
index 454f5c93..fd9c32d4 100644
--- a/node/Multicaster.hpp
+++ b/node/Multicaster.hpp
@@ -109,7 +109,6 @@ public:
*
* If zero is returned, the first two fields will still have been appended.
*
- * @param RR Runtime environment
* @param queryingPeer Peer asking for gather (to skip in results)
* @param nwid Network ID
* @param mg Multicast group
@@ -118,7 +117,17 @@ public:
* @return Number of addresses appended
* @throws std::out_of_range Buffer overflow writing to packet
*/
- unsigned int gather(const RuntimeEnvironment *RR,const Address &queryingPeer,uint64_t nwid,MulticastGroup &mg,Packet &appendTo,unsigned int limit) const;
+ unsigned int gather(const Address &queryingPeer,uint64_t nwid,const MulticastGroup &mg,Packet &appendTo,unsigned int limit) const;
+
+ /**
+ * Get known peers with versions <1.0.0 and that are not supernodes
+ *
+ * This is legacy peer compatibility code and will be removed later.
+ *
+ * @param nwid Network ID
+ * @param mg Multicast group
+ */
+ std::vector<Address> getLegacySubscribers(uint64_t nwid,const MulticastGroup &mg) const;
/**
* Send a multicast