-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Network interface: reliable broadcast semantics (#1624)
Changes the `broadcast` semantics to send a message to everyone on the Hydra network, *including* ourselves. Makes `NetworkCallback` a `newtype` and names the function `deliver`. This makes it consistent with literature and we can reason about the properties of certain `NetworkComponent` implementations. For example: We could require each `NetworkComponent` to bet "valid": > Validity: If a correct process broadcasts a message m, then every correct process eventually delivers m This PR however, just moves the delivery to ourselves from the `Node` to the aggregate `Hydra.Node.Network` stack. From the outside, the node behaves exactly as before. --- * [x] CHANGELOG update not needed * [x] Documentation update not needed * [x] Haddocks updated * [x] No new TODOs introduced
- Loading branch information
Showing
14 changed files
with
371 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.