-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
de-duplicate loops #33
Comments
This propose stops at 4 even though 4 previously forwarded the
The debug logs show that even though 4 did send:
It apparently didn't record that as a forward:
|
The logs of sending
|
Hm, let me think... This really feels pretty collaborative, there are several ways in which a Byzantine node could use this system to destroy loops, so maybe this mechanism will not make it into production, but good deduplication makes debugging easier so I'm putting it into Badger and then we can experiment with it. |
I implemented parts of this now with https://github.com/ledgerloops/strategy-pit/commits/badger-sarafu/ - continuing tomorrow! |
loops are stored in the announce direction |
This line in the debug log of node 4 is weird, since 4 forwarded this trace from 3 to 6:
|
OK, the announcements work now, and all three nodes find all three loops correctly.
I'll try the first one first, and then see if i can implement duplicate removal somehow |
I had code that adds loops from announce but now that the announcement also contains mere traces as equivalents, I changed this to only store the first one if unknown. |
Only the announcement initiator can determine the equivalents, so it should be sending out a |
But first I need to fix the issue that |
I've now added deduplication in the end analysis in |
In #31 I'm not finding:
All three loops are valid but this is a triangle so we can collaboratively deduplicate to only one loop, and then also make sure all participating nodes become aware of it.
The text was updated successfully, but these errors were encountered: