mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
fa4471f566
- RemoteRC supplants most of the functionality throughout the code of RouterContact - Next step will be to sort out CI issues, then see if we can get rid of either LocalRC (and therefore RouterContact entirely)
29 lines
604 B
C++
29 lines
604 B
C++
#include <llarp/bootstrap.hpp>
|
|
|
|
#include <initializer_list>
|
|
|
|
namespace llarp
|
|
{
|
|
using namespace std::literals;
|
|
|
|
std::unordered_map<std::string, BootstrapList>
|
|
load_bootstrap_fallbacks()
|
|
{
|
|
std::unordered_map<std::string, BootstrapList> fallbacks;
|
|
|
|
for (const auto& [network, bootstrap] :
|
|
std::initializer_list<std::pair<std::string, std::string_view>>{
|
|
//
|
|
})
|
|
{
|
|
if (network != RouterContact::ACTIVE_NETID)
|
|
continue;
|
|
|
|
auto& bsl = fallbacks[network];
|
|
bsl.bt_decode(bootstrap);
|
|
}
|
|
|
|
return fallbacks;
|
|
}
|
|
} // namespace llarp
|