mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
427 B
19 lines
427 B
#include <boost/property_tree/ptree.hpp> |
|
#include <boost/property_tree/ini_parser.hpp> |
|
#include "Profiling.h" |
|
|
|
namespace i2p |
|
{ |
|
namespace data |
|
{ |
|
RouterProfile::RouterProfile (const IdentHash& identHash): |
|
m_IdentHash (identHash), m_NumTunnelsAgreed (0), m_NumTunnelsDeclined (0) |
|
{ |
|
} |
|
|
|
std::shared_ptr<RouterProfile> GetProfile (const IdentHash& identHash) |
|
{ |
|
return std::make_shared<RouterProfile> (identHash); |
|
} |
|
} |
|
}
|