Page MenuHomePhabricator

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

Authored by majcosta on Sep 22 2020, 00:56.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix requested changes to this revision.Sep 22 2020, 01:46
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/validationinterface.cpp
240 ↗(On Diff #23646)

It does looks like you can remove the comment now.

This revision now requires changes to proceed.Sep 22 2020, 01:46

removed now unnecessary TODO comment

This revision is now accepted and ready to land.Sep 22 2020, 11:40