mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-12 20:28:27 +00: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:
@ -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;
|
||||
|
Reference in New Issue
Block a user