4 Commits

Author SHA1 Message Date
Fabiana Cecin
964f0e131a
Fixes from pair session with Ivan 2026-02-27 10:46:56 -03:00
Fabiana Cecin
fd6370f3fa
Implement sub/unsub/receive
* Apply insights and constraints from early reviews
* Add support for Core/Relay sub/unsub/receive
* WIP Edge support (new EdgeDriver placeholder)
* Hook MessageReceivedInternalEvent to Kernel API bus
* Fix MAPI vs Kernel API unique relay handler support
* RecvService delegating topic subs to SubscriptionService
* SubscriptionService abstracts Core vs. Edge switching
* RecvService emits MessageReceivedEvent (fully filtered)
* Delete SubscriptionService.shardSubs
* Track relay shard sub with empty contentTopicSubs val
* Ensure relay shards never unsubscribed for Core for now
2026-02-24 19:48:34 -03:00
Fabiana Cecin
10673afc95
Add fixed relay/core shard subscriptions and fix test 2026-02-20 19:49:02 -03:00
Fabiana Cecin
0eb6aa07c6
Implement stateful SubscriptionService for Core mode (WIP)
* SubscriptionService tracks shard and content topic interest
* Emit MessageReceivedEvent on subscribed content topics
* Add selectPeers() to PeerManager for future edge node sub impl
* Add test_api_subscriptions.nim with a placeholder sub test
2026-02-20 09:34:40 -03:00