-
Notifications
You must be signed in to change notification settings - Fork 5
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
Root event date #125
Merged
Merged
Root event date #125
Changes from 20 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
fa801d4
Add function to convert a block height to unix timestamp
thobson88 be9b628
Implement date-to-block-height-range function
thobson88 a99ff5a
Remove client argument from query_mongodb function
thobson88 dfc3242
Fix unit tests; add new mongo DB query function
thobson88 0550963
Implement function to query MongoDB over a block height interval
thobson88 18ee41b
Add root module; refactor utils functions
thobson88 0e46a98
Add opIndex=0 condition for root DID candidates
thobson88 ccb433f
Add HTTP endpoint for getting root DID candidates
thobson88 61a3d2d
Add RootCandidatesResult type; add assertions in unit test
thobson88 f48b4c7
Remove obsolete comment
thobson88 23c66ca
Add cache of root DID candidates in AppState
thobson88 bc931a3
Add date field in RootCandidatesResult struct
thobson88 1fb6333
Rename txid field in RootCandidate struct
thobson88 fad5cbc
Add HTTP endpoint to get block timestamp
thobson88 77b5dbc
Add block height field in RootCandidate struct
thobson88 9997e0b
Merge branch 'main' into root-event-date
thobson88 6326fec
Fix build errors
thobson88 cb106e5
Clippy fixes
thobson88 22a03a8
Use RwLock for root candidates instead of Mutex
thobson88 717c9b5
Delete obsolete comment
thobson88 92fafb0
Clippy fixes
thobson88 e5bc179
Remove obsolete comments
thobson88 07ab3c3
Improve HTTP status codes on root error
thobson88 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Check the HTTP status