WIP: LokidRpcClient

pull/1306/head
Stephen Shelton 4 years ago committed by Jeff Becker
parent ca9214f50f
commit 13b0a4f2fc
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -276,7 +276,9 @@ if(SUBMODULE_CHECK)
endif()
endif()
add_subdirectory(external/loki-mq EXCLUDE_FROM_ALL)
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.

@ -17,7 +17,7 @@ namespace llarp
/// The LokidRpcClient uses loki-mq to talk to make API requests to lokid.
struct LokidRpcClient : public std::enable_shared_from_this<LokidRpcClient>
{
LokidRpcClient(LMQ_ptr lmq, AbstractRouter* r);
explicit LokidRpcClient(LMQ_ptr lmq, AbstractRouter* r);
/// Connect to lokid async
void

Loading…
Cancel
Save