-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- We record what each party has seen and remove messages seen by all parties. - Use IntMap instead of Vector for storing sent messages because we need to be able to remove old/seen indices without re-indexing. - Use Map to keep track of the last seen message by party - Introduce a test case to assert the withNetwork logs removal of old messages.
- Loading branch information
Showing
2 changed files
with
39 additions
and
23 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