Commit 7fb3ad1
refactor(iroh-willow): refactor peer manager so that proptest passes reliably (#2727)
## Description
Fixes #2695
* Refactor peer manager to really keep track of all connections, the
previous logic of a single peer state was flawed for simultaneous
accepts while closing previous connections.
* Better debuggability of reconciler
* Add proptest from #2695 and refactor to run in both directions
simultaneously.
## Breaking Changes
<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->
## Notes & open questions
<!-- Any notes, remarks or open questions you have to make about the PR.
-->
## Change checklist
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
---------
Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>1 parent a202b56 commit 7fb3ad1
File tree
8 files changed
+386
-288
lines changed- iroh-willow/src
- engine
- proto
- session
- store
8 files changed
+386
-288
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
270 | | - | |
| 268 | + | |
| 269 | + | |
271 | 270 | | |
272 | 271 | | |
273 | 272 | | |
| |||
0 commit comments