mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
306 B
C++
15 lines
306 B
C++
6 years ago
|
#include <llarp/service/address.hpp>
|
||
|
|
||
|
namespace llarp
|
||
|
{
|
||
|
namespace service
|
||
|
{
|
||
|
std::string
|
||
|
Address::ToString() const
|
||
|
{
|
||
|
char tmp[(1 + 32) * 2] = {0};
|
||
|
std::string str = Base32Encode(*this, tmp);
|
||
|
return str + ".loki";
|
||
|
}
|
||
|
} // namespace service
|
||
|
} // namespace llarp
|