HomePhabricator

[refactor] put finality and maturity checking into a lambda

Description

[refactor] put finality and maturity checking into a lambda

Summary:
No behavior change.

This is a partial backport of core#22677
https://github.com/bitcoin/bitcoin/pull/22677/commits/bb9078ed51159fa162484f16993313ed6cf980e3

Depends on D12441

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
glozow <gloriajzhao@gmail.com>Authored on Sep 29 2021, 19:30
PiRKCommitted on Nov 10 2022, 08:50
PiRKPushed on Nov 10 2022, 08:50
Reviewer
Restricted Project
Differential Revision
D12443: [refactor] put finality and maturity checking into a lambda
Parents
rABC848f2f48c23f: remove unnecessary casts, use braced initialization and add an assertion
Branches
Unknown
Tags
Unknown