mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-05-30 10:39:26 +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))
|