1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

make format

This commit is contained in:
Jeff Becker 2019-11-14 10:07:40 -05:00
parent b31d7b75fc
commit 1a864832c8
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05
4 changed files with 8 additions and 9 deletions

View file

@ -671,7 +671,8 @@ namespace llarp
#ifdef _WIN32
struct llarp_fd_promise
{
void Set(std::pair< int, int >)
void
Set(std::pair< int, int >)
{
}

View file

@ -199,15 +199,15 @@ namespace llarp
}
/// override me in subtype
virtual bool HandleGotIntroMessage(
std::shared_ptr< const dht::GotIntroMessage >)
virtual bool
HandleGotIntroMessage(std::shared_ptr< const dht::GotIntroMessage >)
{
return false;
}
/// override me in subtype
virtual bool HandleGotRouterMessage(
std::shared_ptr< const dht::GotRouterMessage >)
virtual bool
HandleGotRouterMessage(std::shared_ptr< const dht::GotRouterMessage >)
{
return false;
}

View file

@ -65,8 +65,7 @@ namespace llarp
return m_CachedAddr.ToString();
}
bool
ServiceInfo::CalculateAddress(std::array< byte_t, 32 >& data) const
bool ServiceInfo::CalculateAddress(std::array< byte_t, 32 >& data) const
{
std::array< byte_t, 256 > tmp;
llarp_buffer_t buf(tmp);

View file

@ -89,8 +89,7 @@ namespace llarp
}
/// calculate our address
bool
CalculateAddress(std::array< byte_t, 32 >& data) const;
bool CalculateAddress(std::array< byte_t, 32 >& data) const;
bool
BDecode(llarp_buffer_t* buf)