Page MenuHomePhabricator

[Refactor] Rename `nLockTimeCutoff` in `ContextualCheckTransaction` to `nMedianTimePast`
ClosedPublic

Authored by tobias_ruck on Feb 22 2023, 11:50.

Details

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

Diff Detail