HomePhabricator

Avoid redundant calls to GetChainParams and GetConsensus in CChainState…

Authored by deadalnix on Feb 4 2020, 14:58.

Description

Avoid redundant calls to GetChainParams and GetConsensus in CChainState::AcceptBlock

Summary: As per title.

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Committed
deadalnixFeb 4 2020, 17:24
Pushed
deadalnixFeb 4 2020, 17:24
Reviewer
Restricted Project
Differential Revision
D5154: Avoid redundant calls to GetChainParams and GetConsensus in CChainState::AcceptBlock
Parents
rABCecfd419e5236: Fix the build with GCC < 8
Branches
Unknown
Tags
Unknown