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

Function CreateLocalDestination

libi2pd/api.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 std::shared_ptr<i2p::client::ClientDestination> CreateLocalDestination (const i2p::data::PrivateKeys& keys, bool isPublic,
94 const i2p::util::Mapping * params)
95 {
96 auto localDestination = std::make_shared<i2p::client::RunnableClientDestination> (keys, isPublic, params);
97 localDestination->Start ();
98 return localDestination;
99 }
100
101 std::shared_ptr<i2p::client::ClientDestination> CreateLocalDestination (bool isPublic, i2p::data::SigningKeyType sigType,
102 const i2p::util::Mapping * params)

Callers

nothing calls this directly

Calls 2

CreateRandomKeysFunction · 0.85
StartMethod · 0.45

Tested by

no test coverage detected