mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
delivery type Destination for garlic cloves
This commit is contained in:
parent
7f92a847c2
commit
01cb5e02e9
4 changed files with 19 additions and 3 deletions
|
@ -22,6 +22,7 @@ namespace data
|
|||
public:
|
||||
virtual const uint8_t * GetIdentHash () const = 0;
|
||||
virtual const uint8_t * GetEncryptionPublicKey () const = 0;
|
||||
virtual bool IsDestination () const = 0; // for garlic
|
||||
};
|
||||
|
||||
class LeaseSet: public RoutingDestination
|
||||
|
@ -33,6 +34,7 @@ namespace data
|
|||
// implements RoutingDestination
|
||||
const uint8_t * GetIdentHash () const { return m_IdentHash; };
|
||||
const uint8_t * GetEncryptionPublicKey () const { return m_EncryptionKey; };
|
||||
bool IsDestination () const { return true; };
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue