mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-13 09:36:51 +02:00
moved garlic decryption to streaming thread
This commit is contained in:
parent
911ad52989
commit
375fceb530
6 changed files with 41 additions and 15 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue