delivery type Destination for garlic cloves

This commit is contained in:
orignal 2013-11-26 20:59:25 -05:00
parent 7f92a847c2
commit 01cb5e02e9
4 changed files with 19 additions and 3 deletions

View file

@ -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: