HomePhabricator

[backport#15931 1/9] Pass block height in Chain::BlockConnected/Chain…

Description

[backport#15931 1/9] Pass block height in Chain::BlockConnected/Chain::BlockDisconnected

Summary:
To do so we update CValidationInterface::BlockDisconnect to take a
CBlockIndex pointing to the block being disconnected.

This new parameter will be use in the following commit to establish
wallet height.


https://github.com/bitcoin/bitcoin/pull/15931/commits/10b4729e33f76092bd8cfa06d1a5e0a066436f76

Partial backport of Core PR15931

Test Plan:

ninja check check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
Antoine Riard <ariard@student.42.fr>Authored on Jul 24 2019, 19:41
majcostaCommitted on Sep 22 2020, 14:55
majcostaPushed on Sep 22 2020, 14:55
Reviewer
Restricted Project
Differential Revision
D7506: [backport#15931 1/9] Pass block height in Chain::BlockConnected/Chain::BlockDisconnected
Parents
rABC14dccf6b478f: [Backport]util: Filter control characters out of log messages
Branches
Unknown
Tags
Unknown