MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / IsNewer

Method IsNewer

libi2pd/LeaseSet.cpp:201–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 }
200
201 bool LeaseSet::IsNewer (const uint8_t * buf, size_t len) const
202 {
203 return ExtractExpirationTimestamp (buf, len) > ExtractExpirationTimestamp (m_Buffer, m_BufferLen);
204 }
205
206 bool LeaseSet::ExpiresSoon(const uint64_t dlt, const uint64_t fudge) const
207 {

Callers 2

AddRouterInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected