MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / WrapMultipleMessages

Method WrapMultipleMessages

libi2pd/Garlic.cpp:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 std::vector<std::shared_ptr<I2NPMessage> > GarlicRoutingSession::WrapMultipleMessages (const std::vector<std::shared_ptr<const I2NPMessage> >& msgs)
103 {
104 std::vector<std::shared_ptr<I2NPMessage> > ret;
105 for (auto& msg: msgs)
106 ret.push_back (WrapSingleMessage(msg));
107 return ret;
108 }
109
110 ElGamalAESSession::ElGamalAESSession (GarlicDestination * owner,
111 std::shared_ptr<const i2p::data::RoutingDestination> destination, int numTags, bool attachLeaseSet):

Callers 1

FlushSendQueueMethod · 0.45

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected