insert RouterInfo from SessionConfirmed into netdb immediately

This commit is contained in:
orignal 2022-07-19 14:06:00 -04:00
parent 9fec1a86cf
commit a3e19931f0
3 changed files with 17 additions and 9 deletions

View file

@ -69,7 +69,7 @@ namespace data
void Start ();
void Stop ();
bool AddRouterInfo (const uint8_t * buf, int len);
std::shared_ptr<const RouterInfo> AddRouterInfo (const uint8_t * buf, int len);
bool AddRouterInfo (const IdentHash& ident, const uint8_t * buf, int len);
bool AddLeaseSet (const IdentHash& ident, const uint8_t * buf, int len);
bool AddLeaseSet2 (const IdentHash& ident, const uint8_t * buf, int len, uint8_t storeType);