llarp/bootstrap.hpp
Namespaces
| Name |
|---|
| llarp [crypto.hpp] |
Classes
| Name | |
|---|---|
| struct | llarp::BootstrapList |
Source code
#pragma once
#include "router_contact.hpp"
#include <set>
#include <unordered_map>
namespace llarp
{
struct BootstrapList final : public std::set<RouterContact>
{
bool
BDecode(llarp_buffer_t* buf);
bool
BEncode(llarp_buffer_t* buf) const;
template <typename fspath_t>
void
AddFromFile(const fspath_t& fpath);
void
Clear();
};
std::unordered_map<std::string, BootstrapList>
load_bootstrap_fallbacks();
} // namespace llarp
Updated on 2026-01-10 at 22:49:46 +0000