Moved time utility functions to utils/time

This commit is contained in:
s1fr0 2022-02-04 23:33:20 +01:00
parent fdaf121f08
commit 2b5c360746
4 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,7 @@ import
../../waku/v2/protocol/waku_swap/waku_swap,
../../waku/v2/protocol/waku_filter/waku_filter,
../../waku/v2/utils/peers,
../../waku/v2/utils/time,
../test_helpers
template sourceDir*: string = currentSourcePath.rsplit(DirSep, 1)[0]

View File

@ -12,6 +12,7 @@ import
../protocol/waku_filter/waku_filter_types,
../protocol/waku_store/waku_store_types,
../protocol/waku_message,
../utils/time,
./wakunode2,
./waku_payload,
./jsonrpc/[jsonrpc_types,jsonrpc_utils]

View File

@ -23,6 +23,7 @@ import
../../node/storage/message/message_store,
../../node/peer_manager/peer_manager,
../../utils/requests,
../../utils/time,
../waku_swap/waku_swap,
./waku_store_types

View File

@ -11,4 +11,4 @@ type
## This type contains the description of an Index used in the pagination of WakuMessages
digest*: MDigest[256]
receiverTime*: int64
senderTime*: int64 # the time at which the message is generated
senderTime*: int64 # the time at which the message is generated