adapt code after renaming library folder to libwaku

This commit is contained in:
Ivan Folgueira Bande 2026-02-21 21:49:22 +01:00
parent e06917092d
commit 408ed6bd6a
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
8 changed files with 12 additions and 12 deletions

View File

@ -9,7 +9,7 @@ import
metrics,
ffi
import
waku/factory/waku, waku/node/waku_node, waku/node/health_monitor, library/declare_lib
waku/factory/waku, waku/node/waku_node, waku/node/health_monitor, libwaku/declare_lib
proc getMultiaddresses(node: WakuNode): seq[string] =
return node.info().listenAddresses

View File

@ -7,7 +7,7 @@ import
waku/waku_core/peers,
waku/node/waku_node,
waku/node/kernel_api,
library/declare_lib
libwaku/declare_lib
proc retrieveBootstrapNodes(
enrTreeUrl: string, ipDnsServer: string

View File

@ -8,7 +8,7 @@ import
waku/factory/node_factory,
waku/factory/app_callbacks,
waku/rest_api/endpoint/builder,
library/declare_lib
libwaku/declare_lib
proc createWaku(
configJson: cstring, appCallbacks: AppCallbacks = nil

View File

@ -1,7 +1,7 @@
import std/[json, strutils]
import chronos, results, ffi
import libp2p/[protocols/ping, switch, multiaddress, multicodec]
import waku/[factory/waku, waku_core/peers, node/waku_node], library/declare_lib
import waku/[factory/waku, waku_core/peers, node/waku_node], libwaku/declare_lib
proc waku_ping_peer(
ctx: ptr FFIContext[Waku],

View File

@ -12,8 +12,8 @@ import
waku/node/kernel_api,
waku/waku_core/topics/pubsub_topic,
waku/waku_core/topics/content_topic,
library/events/json_message_event,
library/declare_lib
libwaku/events/json_message_event,
libwaku/declare_lib
const FilterOpTimeout = 5.seconds

View File

@ -8,8 +8,8 @@ import
waku/waku_core/topics/pubsub_topic,
waku/waku_lightpush_legacy/client,
waku/node/peer_manager/peer_manager,
library/events/json_message_event,
library/declare_lib
libwaku/events/json_message_event,
libwaku/declare_lib
proc waku_lightpush_publish(
ctx: ptr FFIContext[Waku],

View File

@ -10,8 +10,8 @@ import
waku/node/kernel_api/relay,
waku/waku_relay/protocol,
waku/node/peer_manager,
library/events/json_message_event,
library/declare_lib
libwaku/events/json_message_event,
libwaku/declare_lib
proc waku_relay_get_peers_in_mesh(
ctx: ptr FFIContext[Waku],

View File

@ -2,13 +2,13 @@ import std/[json, sugar, strutils, options]
import chronos, chronicles, results, stew/byteutils, ffi
import
waku/factory/waku,
library/utils,
libwaku/utils,
waku/waku_core/peers,
waku/waku_core/message/digest,
waku/waku_store/common,
waku/waku_store/client,
waku/common/paging,
library/declare_lib
libwaku/declare_lib
func fromJsonNode(jsonContent: JsonNode): Result[StoreQueryRequest, string] =
var contentTopics: seq[string]