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.
23 lines
338 B
C++
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
|