Skip to content

Commit

Permalink
scripted-diff: net_processing: Use existing chainman
Browse files Browse the repository at this point in the history
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 [[bitcoin/bitcoin#21270 | core#21270]] [11/12]
bitcoin/bitcoin@272d993

Depends on D11495

Test Plan: `ninja all check-all`

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D11497
  • Loading branch information
PiRK committed May 19, 2022
1 parent e0cf6c0 commit 2af932f
Showing 1 changed file with 121 additions and 101 deletions.
Loading

0 comments on commit 2af932f

Please sign in to comment.