initial working code

pull/1306/head
Jeff Becker 4 years ago
parent 13b0a4f2fc
commit 1175a583d2
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -276,10 +276,6 @@ if(SUBMODULE_CHECK)
endif()
endif()
add_subdirectory(external/loki-mq)
include_directories(external/loki-mq)
include_directories(external/loki-mq/mapbox-variant/include)
# We only actually need pybind11 with WITH_HIVE, but if we don't load it here then something further
# down loads a broken PythonInterp that loads Python2, but Python2 headers are not C++17 compatible.
# So load this here universally so that pybind's more intelligent python finder finds python3.x

@ -849,6 +849,7 @@ namespace llarp
{
rpcBindAddr = DefaultRPCBindAddr;
}
<<<<<<< HEAD
// older configs just specify an ip/port tuple so check for that and prepend tcp:// in that
// case
if (rpcBindAddr.find("tcp://") == std::string::npos
@ -859,6 +860,10 @@ namespace llarp
}
m_RPCServer->AsyncServeRPC(rpcBindAddr);
LogInfo("Bound RPC server to ", rpcBindAddr);
=======
// TODO: set up rpc server
// LogInfo("Bound RPC server to ", rpcBindAddr);
>>>>>>> initial working code
}
return true;

@ -3,6 +3,7 @@
#include <router_id.hpp>
#include <lokimq/lokimq.h>
#include <crypto/types.hpp>
#include <crypto/types.hpp>
@ -23,6 +24,10 @@ namespace llarp
void
ConnectAsync(std::string_view url);
/// blocking request identity key from lokid
std::optional<SecretKey>
ObtainIdentityKey();
private:
/// called when we have connected to lokid via lokimq
void

Loading…
Cancel
Save