change datagram routing path if nothing comes back in 10 seconds

This commit is contained in:
orignal 2020-07-15 16:20:35 -04:00
parent 67b94d3533
commit c41554109b
4 changed files with 85 additions and 70 deletions

View file

@ -114,6 +114,7 @@ namespace garlic
virtual bool CleanupUnconfirmedTags () { return false; }; // for I2CP, override in ElGamalAESSession
virtual bool MessageConfirmed (uint32_t msgID);
virtual bool IsRatchets () const { return false; };
virtual uint64_t GetLastActivityTimestamp () const { return 0; }; // non-zero for rathets only
void SetLeaseSetUpdated ()
{