mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-04 05:00:02 +00:00
Expose Waku Store client queries on the liblogosdelivery C ABI so hosts can run historical message queries without libwaku. Implementation mirrors kernel store JSON parsing and delegates to wakuStoreClient.query.
13 lines
434 B
Nim
13 lines
434 B
Nim
import std/[atomics, options]
|
|
import chronicles, chronos, chronos/threadsync, ffi
|
|
import waku/factory/waku, waku/node/waku_node, ./declare_lib
|
|
|
|
################################################################################
|
|
## Include different APIs, i.e. all procs with {.ffi.} pragma
|
|
|
|
include
|
|
./logos_delivery_api/node_api,
|
|
./logos_delivery_api/messaging_api,
|
|
./logos_delivery_api/store_api,
|
|
./logos_delivery_api/debug_api
|