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:
parent
eb5afb41a1
commit
b5602228a3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue