mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-16 18:06:45 +00:00
f86baa01a7
* Fix sanity check location. * Implement some rln tests.
17 lines
379 B
Nim
17 lines
379 B
Nim
import chronos
|
|
|
|
import ../../../waku/[waku_core/message, waku_store]
|
|
|
|
const
|
|
FUTURE_TIMEOUT* = 1.seconds
|
|
FUTURE_TIMEOUT_LONG* = 10.seconds
|
|
|
|
proc newPushHandlerFuture*(): Future[(string, WakuMessage)] =
|
|
newFuture[(string, WakuMessage)]()
|
|
|
|
proc newBoolFuture*(): Future[bool] =
|
|
newFuture[bool]()
|
|
|
|
proc newHistoryFuture*(): Future[HistoryQuery] =
|
|
newFuture[HistoryQuery]()
|