Page MenuHomePhabricator

scripted-diff: net_processing: Use existing chainman
ClosedPublic

Authored by PiRK on May 19 2022, 09:49.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC2af932fc290b: scripted-diff: net_processing: Use existing chainman
Summary
-BEGIN VERIFY SCRIPT-
sed -i -E \
    -e 's/g_chainman/m_chainman/g' \
    -e 's@([^:])(Chain(state|)Active)@\1::\2@g' \
    -e 's@::Chain(state|)Active\(\)@m_chainman.ActiveChain\1()@g' \
    -- src/net_processing.cpp
arc lint
-END VERIFY SCRIPT-

This is a backport of core#21270 [11/12]
https://github.com/bitcoin/bitcoin/pull/21270/commits/272d993e759e7fcfe883b84e9a2a3be3c75177ec

Depends on D11495

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.May 19 2022, 09:49
deadalnix added a subscriber: deadalnix.

This needs to happen for GetAvalancheVoteForBlock too.

This revision is now accepted and ready to land.May 19 2022, 17:46