Implement continuous contacting of designated anchors and multicast replicators - GitHub issue #666
This commit is contained in:
parent
f821db29f3
commit
4419734a7d
7 changed files with 88 additions and 80 deletions
|
@ -336,7 +336,7 @@ public:
|
|||
/**
|
||||
* @return True if I am a root server in a planet or moon
|
||||
*/
|
||||
inline bool amRoot() const { return _amRoot; }
|
||||
inline bool amUpstream() const { return _amUpstream; }
|
||||
|
||||
/**
|
||||
* Get info about a path
|
||||
|
@ -460,7 +460,7 @@ private:
|
|||
std::vector<World> _moons;
|
||||
std::vector< std::pair<uint64_t,Address> > _moonSeeds;
|
||||
std::vector<Address> _upstreamAddresses;
|
||||
bool _amRoot;
|
||||
bool _amUpstream;
|
||||
Mutex _upstreams_m; // locks worlds, upstream info, moon info, etc.
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue