1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

don't kill nodes as service node

This commit is contained in:
Jeff Becker 2019-05-12 13:54:30 -04:00
parent eb5afb41a1
commit b5602228a3
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -1232,12 +1232,14 @@ namespace llarp
LogError("Failed to update our RC");
}
/*
// kill nodes that are not allowed by network policy
nodedb()->RemoveIf([&](const RouterContact &rc) -> bool {
if(IsBootstrapNode(rc.pubkey))
return false;
return !ConnectionToRouterAllowed(rc.pubkey);
});
*/
// only do this as service node
// client endpoints do this on their own