instacart / instacart/truetime-android

Sample TrueTime and use that to build a clock drift estimation.

Open
#114 1 comment 3 reactions 0 assignees View on GitHub
feature
Dominant language
Kotlin
Stars
1.5k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

Sample true time and use the samples to build a linear estimation of clock drift, which is then applied at every call for the current "best time". This provides the app with continuous best-estimate of the actual time that is calibrated by TrueTime and corrected for clock drift.

Credit for this idea entirely goes to [Chris from UMass](https://www.geo.umass.edu/people/chris-duncan). He also was kind enough to send a sample of the code he's using for this idea.

Working on trying to integrate this as part of TrueTime.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.