mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-02-28 14:13:12 +00:00
* Fix protocol strength metric to consider connected peers only * Remove polling loop; event-driven node connection health updates * Remove 10s WakuRelay topic health polling loop; now event-driven * Change NodeHealthStatus to ConnectionStatus * Change new nodeState (rest API /health) field to connectionStatus * Add getSyncProtocolHealthInfo and getSyncNodeHealthReport * Add ConnectionStatusChangeEvent * Add RequestHealthReport * Refactor sync/async protocol health queries in the health monitor * Add EventRelayTopicHealthChange * Add EventWakuPeer emitted by PeerManager * Add Edge support for topics health requests and events * Rename "RelayTopic" -> "Topic" * Add RequestContentTopicsHealth sync request * Add EventContentTopicHealthChange * Rename RequestTopicsHealth -> RequestShardTopicsHealth * Remove health check gating from checkApiAvailability * Add basic health smoke tests * Other misc improvements, refactors, fixes Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com> Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
25 lines
882 B
Nim
25 lines
882 B
Nim
{.push raises: [].}
|
|
|
|
type WakuProtocol* {.pure.} = enum
|
|
RelayProtocol = "Relay"
|
|
RlnRelayProtocol = "Rln Relay"
|
|
StoreProtocol = "Store"
|
|
LegacyStoreProtocol = "Legacy Store"
|
|
FilterProtocol = "Filter"
|
|
LightpushProtocol = "Lightpush"
|
|
LegacyLightpushProtocol = "Legacy Lightpush"
|
|
PeerExchangeProtocol = "Peer Exchange"
|
|
RendezvousProtocol = "Rendezvous"
|
|
MixProtocol = "Mix"
|
|
StoreClientProtocol = "Store Client"
|
|
LegacyStoreClientProtocol = "Legacy Store Client"
|
|
FilterClientProtocol = "Filter Client"
|
|
LightpushClientProtocol = "Lightpush Client"
|
|
LegacyLightpushClientProtocol = "Legacy Lightpush Client"
|
|
|
|
const
|
|
RelayProtocols* = {RelayProtocol}
|
|
StoreClientProtocols* = {StoreClientProtocol, LegacyStoreClientProtocol}
|
|
LightpushClientProtocols* = {LightpushClientProtocol, LegacyLightpushClientProtocol}
|
|
FilterClientProtocols* = {FilterClientProtocol}
|