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