This puts the conflicting proofs to votes on the avalanche network. It's currently limited to polling for proofs only, and never called outside of the tests.
Ref T1854.
Depends on D10219.
Differential D10027
[avalanche] Add conflicting proofs to the vote Fabien on Sep 2 2021, 13:45. Authored by
Details
This puts the conflicting proofs to votes on the avalanche network. It's currently limited to polling for proofs only, and never called outside of the tests. Ref T1854. Depends on D10219. ninja check-avalanche-processor_tests
Diff Detail
Event TimelineComment Actions There are obvious problems with this. For instance, one can completely disable avalanche by flooding the system with proofs. While it is not expected that all problems are solved right out of the bat, this is somewhat surprising that none of the limitations have been thought through and do not inspire confidence that this is moving in the right direction at all. Documenting known problems in the code, in addition of having the benefice that problems are documented in the code, is the only way a reviewer can asses if the person writing the code is actually moving somewhere sensible with it.
Comment Actions
Comment Actions Ok I think I'm getting a sense of where this is going. This patch definitely suffers from doing too many things. The whole ConflictingProofHandlerbusiness could be extracted from this and put in another patch. This would move much smoother if you limited each diff to do one thing and one thing only.
Comment Actions Remove the handlers for now and use addProofToReconcile to unit tests the invs are added as expected. Comment Actions I already updated the summary but forgot to remove the dependency in phab, good catch |