Adjust liblmapi_example to use misc-chat fleet node

This commit is contained in:
NagyZoltanPeter 2026-02-06 13:52:45 +01:00
parent 25ef828e15
commit 5918a294a3
No known key found for this signature in database
GPG Key ID: 3E1F97CF4A7B6F42
3 changed files with 8 additions and 5 deletions

View File

@ -104,11 +104,12 @@ int main() {
// Configuration JSON for creating a node
const char *config = "{"
"\"mode\": \"Core\","
"\"clusterId\": 16,"
"\"numShards\": 5,"
"\"shards\": [64, 128, 1, 32, 256],"
"\"entryNodes\": [\"/dns4/boot-01.gc-us-central1-a.status.prod.status.im/tcp/30303/p2p/16Uiu2HAm8mUZ18tBWPXDQsaF7PbCKYA35z7WB2xNZH2EVq1qS8LJ\"],"
"\"logLevel\": \"TRACE\","
"\"mode\": \"Edge\","
"\"clusterId\": 42,"
"\"numShards\": 8,"
// "\"shards\": [0,1,2,3,4,5,6,7],"
"\"entryNodes\": [\"/dns4/node-01.do-ams3.misc.logos-chat.status.im/tcp/30303/p2p/16Uiu2HAkxoqUTud5LUPQBRmkeL2xP4iKx2kaABYXomQRgmLUgf78\"],"
"\"networkingConfig\": {"
"\"listenIpv4\": \"0.0.0.0\","
"\"p2pTcpPort\": 60000,"

View File

@ -4,6 +4,7 @@ import waku/factory/waku
import waku/[requests/health_request, waku_core, waku_node]
import waku/node/delivery_service/send_service
import waku/node/delivery_service/subscription_service
import libp2p/peerid
import ./[api_conf, types]
logScope:

View File

@ -91,6 +91,7 @@ proc setupSendProcessorChain(
for i in 1 ..< processors.len:
currentProcessor.chain(processors[i])
currentProcessor = processors[i]
trace "Send processor chain", index = i, processor = type(processors[i]).name
return ok(processors[0])