wormhole/node/pkg/processor
Leo 68bdd4b0b6 node/pkg/processor: expire late observations
Fixes https://github.com/certusone/wormhole/issues/685.

Example occurrence this fixes: https://i.imgur.com/gZWKf1n.png

Possible future optimizations include:

- Ignore late messages in the processor (but we can only ignore
  them post settlement time, so we need the cleanup logic regardless).

- Ignoring late observations from other nodes.

- Using the stored VAA to calculate misses.

- Drop incomplete local observations. However, this is not trivial
  since we do not know the message ID for those.

commit-id:47e1e59f
2022-01-25 22:36:24 +01:00
..
broadcast.go node/pkg/vaa: remove error return value from SigningMsg 2021-12-20 16:05:22 +01:00
cleanup.go node/pkg/processor: expire late observations 2022-01-25 22:36:24 +01:00
injection.go node/pkg/vaa: remove error return value from SigningMsg 2021-12-20 16:05:22 +01:00
message.go node/pkg/vaa: remove error return value from SigningMsg 2021-12-20 16:05:22 +01:00
observation.go node/pkg/vaa: remove error return value from SigningMsg 2021-12-20 16:05:22 +01:00
processor.go node: add Discord notifications for missing signatures 2021-10-06 14:12:21 +02:00
quorum.go node: rename bridge/ to node/ 2021-08-26 11:36:36 +02:00
quorum_test.go node: rename bridge/ to node/ 2021-08-26 11:36:36 +02:00