Logo
Explore Help
Sign In
logos-messaging/logos-messaging-nim
1
0
Fork 0
You've already forked logos-messaging-nim
mirror of https://github.com/logos-messaging/logos-messaging-nim.git synced 2026-03-17 01:53:07 +00:00
Code Issues Packages Projects Releases Wiki Activity
logos-messaging-nim/waku/api/request_id.nim

14 lines
272 B
Nim
Raw Normal View History

Introduce api/send Added events and requests for support. Reworked delivery_monitor into a featured devlivery_service, that - supports relay publish and lightpush depending on configuration but with fallback options - if available and configured it utilizes store api to confirm message delivery - emits message delivery events accordingly Notice: There are parts still in WIP and needs review and follow ups. prepare for use in api_example
2025-11-21 16:11:58 +01:00
{.push raises: [].}
import bearssl/rand
import waku/utils/requests as request_utils
import ./types
proc newRequestId*(rng: ref HmacDrbgContext): RequestId =
## Generate a new RequestId using the provided RNG.
RequestId(request_utils.generateRequestId(rng))
{.pop.}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 51ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API