diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-26 12:36:45 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-26 12:36:45 -0700 |
| commit | 57c7992c785ab2f69fb2ddffd6f48bfebd96cab8 (patch) | |
| tree | a3cf773ae17f9593c4787198bc17d9347ae9fe06 /node/Network.hpp | |
| parent | c287ae4d1d0cb6448e556dda2c5c98eee4898cfe (diff) | |
| download | infinitytier-57c7992c785ab2f69fb2ddffd6f48bfebd96cab8.tar.gz infinitytier-57c7992c785ab2f69fb2ddffd6f48bfebd96cab8.zip | |
GitHub issue #191 - kill intra-network multicast rate limits (which were not well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast.
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/node/Network.hpp b/node/Network.hpp index 7976d901..daa4554e 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -47,7 +47,6 @@ #include "MulticastGroup.hpp" #include "MAC.hpp" #include "Dictionary.hpp" -#include "BandwidthAccount.hpp" #include "Multicaster.hpp" #include "NetworkConfig.hpp" #include "CertificateOfMembership.hpp" @@ -238,15 +237,6 @@ public: } /** - * Update and check multicast rate balance for a multicast group - * - * @param mg Multicast group - * @param bytes Size of packet - * @return True if packet is within budget - */ - bool updateAndCheckMulticastBalance(const MulticastGroup &mg,unsigned int bytes); - - /** * Get current network config or throw exception * * This version never returns null. Instead it throws a runtime error if @@ -370,7 +360,6 @@ private: std::vector< MulticastGroup > _myMulticastGroups; // multicast groups that we belong to including those behind us (updated periodically) std::map< MulticastGroup,uint64_t > _multicastGroupsBehindMe; // multicast groups bridged to us and when we last saw activity on each - std::map< MulticastGroup,BandwidthAccount > _multicastRateAccounts; std::map<MAC,Address> _remoteBridgeRoutes; // remote addresses where given MACs are reachable |
