work in progress

This commit is contained in:
Adam Ierymenko 2019-08-23 08:41:22 -07:00
parent 0731f3f1a9
commit 903a18db1d
No known key found for this signature in database
GPG key ID: 1657198823E52A61
5 changed files with 83 additions and 0 deletions

View file

@ -245,6 +245,7 @@ void Multicaster::send(
explicitGatherPeers[numExplicitGatherPeers++] = network->controller();
/*
Address ac[ZT_MAX_NETWORK_SPECIALISTS];
const unsigned int accnt = network->config().alwaysContactAddresses(ac);
unsigned int shuffled[ZT_MAX_NETWORK_SPECIALISTS];
@ -263,7 +264,9 @@ void Multicaster::send(
if (numExplicitGatherPeers == 16)
break;
}
*/
/*
std::vector<Address> anchors(network->config().anchors());
for(std::vector<Address>::const_iterator a(anchors.begin());a!=anchors.end();++a) {
if (*a != RR->identity.address()) {
@ -272,6 +275,7 @@ void Multicaster::send(
break;
}
}
*/
for(unsigned int k=0;k<numExplicitGatherPeers;++k) {
const CertificateOfMembership *com = (network) ? ((network->config().com) ? &(network->config().com) : (const CertificateOfMembership *)0) : (const CertificateOfMembership *)0;