mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-19 23:53:53 +00:00
Peers are now dumped on shutdown in a persistence cache and reloaded on startup, which is good enough for clients right now. Supernodes will get something else for long-term authoritative identity caching.
This commit is contained in:
@ -271,6 +271,9 @@ public:
|
||||
private:
|
||||
const RuntimeEnvironment *const _r;
|
||||
|
||||
void _dumpPeers();
|
||||
void _loadPeers();
|
||||
|
||||
std::map< Address,SharedPtr<Peer> > _activePeers;
|
||||
Mutex _activePeers_m;
|
||||
|
||||
|
Reference in New Issue
Block a user