HomePhabricator

Let UpdateTime take the adjusted time instead of getting it locally

Description

Let UpdateTime take the adjusted time instead of getting it locally

Summary: For the heartbeat feature we want to return the current node time in the block template. In order to avoid time point discrepeancy, the time should be accessed once and passed down the places where it's needed. There is no change in behavior.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, roqqit

Reviewed By: roqqit

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

Details

Provenance
FabienAuthored on Aug 6 2024, 09:17
FabienPushed on Aug 6 2024, 18:38
Reviewer
roqqit
Differential Revision
D16594: Let UpdateTime take the adjusted time instead of getting it locally
Parents
rABC6b08e3914095: [avalanche] Add a method to return if the node has a finalized tip
Branches
Unknown
Tags
Unknown