mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-10 14:56:31 +00:00
cf7b8faf27
* enables pagination based on sender timestamp * uncomments a test * bumps up version number * updates migration script * clean up * unpdates changelog * undo removal of receiver timestamp * updates message_storage * uses epochTime() * minor * removes a comment * removes receiver timestamp deletion migration script * fixes formatting issues * fixes a bad field name * fixes field issue * adjusts spacing
13 lines
365 B
Nim
13 lines
365 B
Nim
## Contains types and utilities for pagination.
|
|
##
|
|
## Used by both message store and store protocol.
|
|
|
|
import nimcrypto/hash
|
|
|
|
type
|
|
Index* = object
|
|
## This type contains the description of an Index used in the pagination of WakuMessages
|
|
digest*: MDigest[256]
|
|
receiverTime*: float64
|
|
senderTime*: float64 # the time at which the message is generated
|