Page MenuHomePhabricator

Add mockable clock type and TicksSinceEpoch helper
ClosedPublic

Authored by PiRK on Dec 5 2023, 12:38.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC0edc55792cb9: Add mockable clock type and TicksSinceEpoch helper
Summary

PR description:

This will be used primarily by the addr time refactor (core#24697) to make addr relay time type safe. However, it can also be used in other places, and can be reviewed independently.

This is a backport of core#25101
Depends on D14911

Test Plan

ninja all check-all