handle peer test messages 4 and 5

This commit is contained in:
orignal 2022-06-07 16:09:20 -04:00
parent 47460d86b2
commit cbcee5fb45
3 changed files with 40 additions and 10 deletions

View file

@ -193,6 +193,7 @@ namespace data
std::shared_ptr<const Address> GetYggdrasilAddress () const;
std::shared_ptr<const Address> GetSSU2V4Address () const;
std::shared_ptr<const Address> GetSSU2V6Address () const;
std::shared_ptr<const Address> GetSSU2Address (bool v4) const;
void AddSSUAddress (const char * host, int port, const uint8_t * key, int mtu = 0);
void AddNTCP2Address (const uint8_t * staticKey, const uint8_t * iv,