mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-06 21:11:43 -07:00
(1) distribute default root-topology in new dictionary format, (2) bump peer serialization version to force obsolescence of old supernodes, (3) stop outputting a log message every time we poll for software updates
This commit is contained in:
parent
56296f96db
commit
c2187c8759
10 changed files with 109 additions and 63 deletions
|
@ -116,6 +116,14 @@ bool Dictionary::verify(const Identity &id) const
|
|||
}
|
||||
}
|
||||
|
||||
uint64_t Dictionary::signatureTimestamp() const
|
||||
{
|
||||
const_iterator ts(find(ZT_DICTIONARY_SIGNATURE_TIMESTAMP));
|
||||
if (ts == end())
|
||||
return 0;
|
||||
return Utils::hexStrToU64(ts->second.c_str());
|
||||
}
|
||||
|
||||
void Dictionary::_mkSigBuf(std::string &buf) const
|
||||
{
|
||||
unsigned long pairs = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue