HomePhabricator

cleanup more unused code after removal of chained-tx logic…

Description

cleanup more unused code after removal of chained-tx logic (TestLockPointValidity)

Summary:
TestLockPointValidity is unused since D13133. Remove it, and remove include for GetConsensus that is no longer used.

LockPoint::maxInputBlock is no longer used by anything, TestLockPointValidity was the only user. We no longer need to compute it in validation and we can remove it from the struct.
As a result we longer need to include chain.h (CBlockIndex).

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Mar 27 2024, 08:59
PiRKPushed on Mar 27 2024, 15:52
Reviewer
Restricted Project
Differential Revision
D15788: cleanup more unused code after removal of chained-tx logic (TestLockPointValidity)
Parents
rABCfa2217250b5f: [chronik-client] Return number type for timeFirstSeen returned from chronik.
Branches
Unknown
Tags
Unknown