mirror of https://github.com/waku-org/nwaku.git
Moved time utility functions to utils/time
This commit is contained in:
parent
fdaf121f08
commit
2b5c360746
|
@ -25,6 +25,7 @@ import
|
||||||
../../waku/v2/protocol/waku_swap/waku_swap,
|
../../waku/v2/protocol/waku_swap/waku_swap,
|
||||||
../../waku/v2/protocol/waku_filter/waku_filter,
|
../../waku/v2/protocol/waku_filter/waku_filter,
|
||||||
../../waku/v2/utils/peers,
|
../../waku/v2/utils/peers,
|
||||||
|
../../waku/v2/utils/time,
|
||||||
../test_helpers
|
../test_helpers
|
||||||
|
|
||||||
template sourceDir*: string = currentSourcePath.rsplit(DirSep, 1)[0]
|
template sourceDir*: string = currentSourcePath.rsplit(DirSep, 1)[0]
|
||||||
|
|
|
@ -12,6 +12,7 @@ import
|
||||||
../protocol/waku_filter/waku_filter_types,
|
../protocol/waku_filter/waku_filter_types,
|
||||||
../protocol/waku_store/waku_store_types,
|
../protocol/waku_store/waku_store_types,
|
||||||
../protocol/waku_message,
|
../protocol/waku_message,
|
||||||
|
../utils/time,
|
||||||
./wakunode2,
|
./wakunode2,
|
||||||
./waku_payload,
|
./waku_payload,
|
||||||
./jsonrpc/[jsonrpc_types,jsonrpc_utils]
|
./jsonrpc/[jsonrpc_types,jsonrpc_utils]
|
||||||
|
|
|
@ -23,6 +23,7 @@ import
|
||||||
../../node/storage/message/message_store,
|
../../node/storage/message/message_store,
|
||||||
../../node/peer_manager/peer_manager,
|
../../node/peer_manager/peer_manager,
|
||||||
../../utils/requests,
|
../../utils/requests,
|
||||||
|
../../utils/time,
|
||||||
../waku_swap/waku_swap,
|
../waku_swap/waku_swap,
|
||||||
./waku_store_types
|
./waku_store_types
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,4 @@ type
|
||||||
## This type contains the description of an Index used in the pagination of WakuMessages
|
## This type contains the description of an Index used in the pagination of WakuMessages
|
||||||
digest*: MDigest[256]
|
digest*: MDigest[256]
|
||||||
receiverTime*: int64
|
receiverTime*: int64
|
||||||
senderTime*: int64 # the time at which the message is generated
|
senderTime*: int64 # the time at which the message is generated
|
Loading…
Reference in New Issue