HomePhabricator

[backport#16443 1/3] refactor: pcoinsTip -> CChainState::CoinsTip()

Description

[backport#16443 1/3] refactor: pcoinsTip -> CChainState::CoinsTip()

Summary:
This aliasing makes subsequent commits easier to review; eventually CoinsTip()
will return the CCoinsViewCache managed by CChainState.

https://github.com/bitcoin/bitcoin/pull/16443/commits/fae6ab6aed3b9fdc9201bb19a307dfc3d9b89891


Depends on D7578 and D7579

Partial backport of Core PR16443

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
James O'Beirne <james.obeirne@gmail.com>Authored on Jul 24 2019, 15:45
majcostaCommitted on Oct 15 2020, 23:57
majcostaPushed on Oct 15 2020, 23:57
Reviewer
Restricted Project
Differential Revision
D7580: [backport#16443 1/3] refactor: pcoinsTip -> CChainState::CoinsTip()
Parents
rABC05e860392659: [refactor] move ReadBlockFromDisk+ from validation.cpp
Branches
Unknown
Tags
Unknown