moved garlic decryption to streaming thread

This commit is contained in:
orignal 2014-10-08 14:17:17 -04:00
parent 911ad52989
commit 375fceb530
6 changed files with 41 additions and 15 deletions

View file

@ -41,11 +41,15 @@ namespace stream
const i2p::data::PrivateKeys& GetPrivateKeys () const { return m_Keys; };
const uint8_t * GetEncryptionPrivateKey () const { return m_EncryptionPrivateKey; };
const uint8_t * GetEncryptionPublicKey () const { return m_EncryptionPublicKey; };
void SetLeaseSetUpdated ();
// implements GarlicDestination
const i2p::data::LeaseSet * GetLeaseSet ();
// override GarlicDestination
void ProcessGarlicMessage (I2NPMessage * msg);
void ProcessDeliveryStatusMessage (I2NPMessage * msg);
void SetLeaseSetUpdated ();
private:
Stream * CreateNewIncomingStream ();