Skip to content
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

[syncer] Cache Observed Tip #229

Merged
merged 4 commits into from
Nov 5, 2020
Merged

Conversation

patrick-ogrady
Copy link
Contributor

This PR adds support for accessing the last tip observed by the syncer. This can be useful for callers looking to modify their behavior based on an approximation of tip.

Changes

  • move syncer types to their own file
  • expose Tip method
  • test Tip method

@patrick-ogrady patrick-ogrady merged commit 8de76c5 into master Nov 5, 2020
@patrick-ogrady patrick-ogrady deleted the patrick/syncer-known-tip branch November 5, 2020 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants