Page MenuHomePhabricator

[avalanche] Add a method to check if a proof has conflicts
AbandonedPublic

Authored by Fabien on Dec 10 2021, 14:30.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Summary

This is true if the proof is in the conflicting prool, or if it is in the valid pool and has any utxo that conflicts with a proof from the conflicting pool. This is the kind of proof we want to start voting on.

Ref T1854.

Depends on D10658.

Test Plan
ninja all check-avalanche

Diff Detail

Event Timeline

Fabien requested review of this revision.Dec 10 2021, 14:30
deadalnix requested changes to this revision.Dec 10 2021, 16:35
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/avalanche/peermanager.h
261

Wouldn't you need at least two things to have a conflict?

This revision now requires changes to proceed.Dec 10 2021, 16:35