HomePhabricator

scripted-diff: Rename CChainState::g_failed_blocks to m_failed_blocks

Description

scripted-diff: Rename CChainState::g_failed_blocks to m_failed_blocks

Summary:
To reflect its actual status as a member rather than a global value.

g_failed_blocks was previously global: 2862aca

-BEGIN VERIFY SCRIPT-
sed -i 's/g_failed_blocks/m_failed_blocks/g' src/validation.cpp
-END VERIFY SCRIPT-

Backport of Core PR13016
https://github.com/bitcoin/bitcoin/pull/13016/files
Completes T579

Depends on D1972

Test Plan: make check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
jasonbcoxAuthored on Jul 18 2019, 17:26
jasonbcoxPushed on Jul 22 2019, 20:02
Reviewer
Restricted Project
Differential Revision
D3693: scripted-diff: Rename CChainState::g_failed_blocks to m_failed_blocks
Parents
rSTAGINGc314de9ab587: Merge #11714: [tests] Test that mempool rejects coinbase transactions
Branches
Unknown
Tags
Unknown