HomePhabricator

[avalanche] Report the list of finalized blocks when votes are accounted for

Authored by deadalnix on Nov 11 2018, 18:21.

Description

[avalanche] Report the list of finalized blocks when votes are accounted for

Summary:
AvalancheProcessor doesn't need to keep track of finalized items. Instead, it can forget about them let the caller know about finalization.

Depends on D2121

Test Plan: Modifed unit tests to reflect the change.

Reviewers: #bitcoin_abc, jasonbcox, schancel, Fabien

Reviewed By: #bitcoin_abc, jasonbcox, schancel, Fabien

Subscribers: Fabien, jasonbcox, teamcity

Differential Revision: https://reviews.bitcoinabc.org/D2045

Details

Committed
deadalnixNov 23 2018, 15:51
Pushed
deadalnixNov 23 2018, 15:51
Reviewer
Restricted Project
Differential Revision
D2045: [avalanche] Report the list of finalized blocks when votes are accounted for
Parents
rABC9f7574542264: [minig] make CBlockAssembler take a mempool for unit testing.
Branches
Unknown
Tags
Unknown