lokinet/llarp/bootstrap.hpp
Stephen Shelton 273270916e
The Great Wall of Blame
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.

Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00

23 lines
338 B
C++

#ifndef LLARP_BOOTSTRAP_HPP
#define LLARP_BOOTSTRAP_HPP
#include <router_contact.hpp>
#include <set>
namespace llarp
{
struct BootstrapList final : public std::set<RouterContact>
{
bool
BDecode(llarp_buffer_t* buf);
bool
BEncode(llarp_buffer_t* buf) const;
void
Clear();
};
} // namespace llarp
#endif