mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
15 lines
306 B
C++
15 lines
306 B
C++
|
#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
|