nomos-node/nomos-services
Giacomo Pasini b884e1ceca
Fix waku backend (#231)
* Fix order of network streams

When fetching a message from the network, we need to first listen
for incoming messages and then look at the storage. If we do this
in the opposite order, there's a brief moment where we've freezed
our view of stored messages and are not yet listening for incoming
ones, thus risking loosing messages.

* Wait for waku db spurious delays

Sometimes waku takes some time (e.g. a few seconds) before making
a received message available through the archive query. Let's
account for this by making repeated calls if the first one is not
successful.

* Add initial network wait

We've observed in testing that even if waku reports that some
peers are connected it can't really deliver a message. To overcome
this limitation, we add a wait at the network service startup.
We know this is not ideal, but Waku will eventually be replaced and
we're looking for a quick fix.

* fmt
2023-06-27 16:29:01 +02:00
..
consensus Fix waku backend (#231) 2023-06-27 16:29:01 +02:00
http Add configuration for simulation app (#94) 2023-03-20 17:13:55 +08:00
log Add constructor for LogSettings (#67) 2023-02-06 19:23:25 +08:00
mempool deps: bump waku-bindings to handle `ephemeral` field (#160) 2023-06-20 20:58:22 +09:00
metrics Http status codes (#88) 2023-03-06 15:19:27 +02:00
network Fix waku backend (#231) 2023-06-27 16:29:01 +02:00
storage Nomos core (#28) 2022-12-13 15:35:11 +01:00