mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
remove dead routers
This commit is contained in:
parent
6341b10556
commit
5d9f292506
7 changed files with 62 additions and 16 deletions
|
@ -26,9 +26,7 @@ namespace i2p
|
|||
CryptoPP::Integer (m_Keys.signingPrivateKey, 20));
|
||||
|
||||
i2p::data::Identity ident;
|
||||
// copy public and signing keys together
|
||||
memcpy (ident.publicKey, m_Keys.publicKey, sizeof (ident.publicKey) + sizeof (ident.signingKey));
|
||||
memset (ident.certificate, 0, sizeof (ident.certificate));
|
||||
ident = m_Keys;
|
||||
m_RouterInfo.SetRouterIdentity (ident);
|
||||
|
||||
m_RouterInfo.AddNTCPAddress ("127.0.0.1", 17007); // TODO:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue