Page MenuHomePhabricator

[avalanche] Create transaction vote records.
AbandonedPublic

Authored by Mengerian on Apr 20 2022, 13:14.

Details

Reviewers
Fabien
deadalnix
tyler-smith
Group Reviewers
Restricted Project
Summary

Tracks VoteRecords for txs in the Processor but does not yet do anything with them; just get the
pieces in place.

Test Plan

ninja check-avalanche

Event Timeline

Fabien requested changes to this revision.Apr 21 2022, 08:35
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/avalanche/processor.cpp
55

Just drop that for now since it does nothing, and add it back when needed

318

It's accepted if it's in the mempool

This revision now requires changes to proceed.Apr 21 2022, 08:35

Remove isAccepted contructor property and IsWorthPolling.

tyler-smith added inline comments.
src/avalanche/processor.cpp
318

Will we not want to poll on any transactions that are not in the mempool?

318

nvm, didn't mean to submit this. Fixed the pattern.

Fix accidental change-stack cross-contamination.

deadalnix requested changes to this revision.May 1 2022, 20:52
deadalnix added a subscriber: deadalnix.

There is pretty much the same code stamped 3 times in a row now. This is clearly an indication that it is time to stop piling up and go to the design board.

This revision now requires changes to proceed.May 1 2022, 20:52
Mengerian abandoned this revision.
Mengerian added a reviewer: tyler-smith.