mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-05-30 14:19:30 +00:00
16 lines
338 B
Nim
16 lines
338 B
Nim
## Core identifier types for the Reliable Channel API.
|
|
|
|
import std/hashes
|
|
import waku/api/types as api_types
|
|
|
|
import ./scalable_data_sync/scalable_data_sync
|
|
|
|
export scalable_data_sync
|
|
export api_types
|
|
|
|
type ChannelId* = SdsChannelID
|
|
|
|
proc hash*(r: RequestId): Hash =
|
|
## Allows `RequestId` to be used as a `Table` key.
|
|
hash(string(r))
|