HomePhabricator

[Refactor] Rename `nLockTimeCutoff` in `ContextualCheckTransaction` to…

Description

[Refactor] Rename nLockTimeCutoff in ContextualCheckTransaction to nMedianTimePast

Summary:
For restricting nVersion based on MTP, we need MTP to be in ContextualCheckTransaction. Luckily, there's already nLockTimeCutoff, which is currently always set to the MTP.

This diff renames that parameter to nMedianTimePast so it's clear this is always the case.

Test Plan: CI should catch this

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Feb 22 2023, 11:41
tobias_ruckPushed on Feb 22 2023, 14:22
Reviewer
Restricted Project
Differential Revision
D13155: [Refactor] Rename `nLockTimeCutoff` in `ContextualCheckTransaction` to `nMedianTimePast`
Parents
rABC4874ed1553ce: [Cashtab] [Alias] pt 9 - Retain tokenInfoById upon alias validation
Branches
Unknown
Tags
Unknown