-
Notifications
You must be signed in to change notification settings - Fork 36.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mockable clock type #25101
The head ref may contain hidden characters: "2205-mock-clock-\u{1F603}"
Add mockable clock type #25101
Conversation
Naming discussion welcome. Previous naming thread at #24697 (comment) |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
Rebased for changes in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK / Edit: light code review, debug build, and tested running bitcoind locally on this branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK fa20781
Am running mainnet and signet nodes with this branch today.
Rebased. Should be trivial to re-review |
ACK fa305fd per |
ACK fa305fd |
fa305fd Add mockable clock type and TicksSinceEpoch helper (MarcoFalke) Pull request description: This will be used primarily by the addr time refactor (bitcoin#24697) to make addr relay time type safe. However, it can also be used in other places, and can be reviewed independently, so I split it up. ACKs for top commit: jonatack: ACK fa305fd per `git range-diff 7b3343f fa20781 fa305fd` ajtowns: ACK fa305fd Tree-SHA512: da00200126833c1f55b1b1e68f596eab5c9254e82b188ad17779c08ffd685e198a7c5270791b4b69a858dc6ba4e051fe0c8b445d203d356d0c884f6365ee1cfe
This will be used primarily by the addr time refactor (#24697) to make addr relay time type safe. However, it can also be used in other places, and can be reviewed independently, so I split it up.