Page MenuHomePhabricator

[avalanche] Merge the block and proof vote records into a single data structure
ClosedPublic

Authored by Fabien on Jan 17 2023, 20:59.

Details

Summary

This will prevent duplicating the code several time when adding vote records for transactions.
More cleanups and factorizations will follow.

There is no change in behavior.

Test Plan
ninja all check-extended
../contrib/teamcity/build-configurations.py build-tsan

Diff Detail

Event Timeline

Fabien requested review of this revision.Jan 17 2023, 20:59
sdulfari added a subscriber: sdulfari.
sdulfari added inline comments.
src/avalanche/processor.cpp
908

Does this fail to build if a type is missing?

This revision is now accepted and ready to land.Jan 17 2023, 21:26
src/avalanche/processor.cpp
908

yes :) how cool is that ?