Page MenuHomePhabricator

[avalanche] Pass chainman to PeerManager
ClosedPublic

Authored by PiRK on Jul 4 2022, 16:00.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC91a4647992fc: [avalanche] Pass chainman to PeerManager
Summary

This removes usage of global chainstate in the PeerManager class.

Depends on D11702

Test Plan

ninja all check-all

Event Timeline

deadalnix added inline comments.
src/avalanche/peermanager.cpp
12

ChainstateManager is not a fucntion.

deadalnix requested changes to this revision.Jul 6 2022, 00:55
This revision now requires changes to proceed.Jul 6 2022, 00:55

fix comment for #include <validation.h>

This revision is now accepted and ready to land.Jul 8 2022, 15:40

rebase: fix conflicts with D11736

This revision was automatically updated to reflect the committed changes.