-
Notifications
You must be signed in to change notification settings - Fork 228
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
Light Client: Follow-up #284
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
906add1
Introduce clock_drift verification parameter, as per the spec
romac c95c919
Re-enable contract in IO component
romac 9c22449
Document the scheduler component
romac ff62097
Cleanup fork detector
romac dddf9e8
Document verifier
romac 18ffa1c
Fix tests and example
romac e39a6cb
Add more documentation
romac d208b04
Add more spec tags for traceability
romac 38153cb
Rename light_client crate to tendermint_light_client
romac d9fbe4c
WIP: Enable precondition on verify_to_target
romac 594ce1a
Improve documentation
romac 6c2b7c5
Point to light_client module for main documentation
romac 88aafd4
Update #[deny] flags
romac ed2ee36
Include trust threshold in InsufficientValidatorsOverlap error
romac 3d4c226
Improve performance of LightStore::latest
romac d1bb164
Fix verifier predicates logic
romac 74134a4
Remove Verdict::and_then
romac cd38cf3
Formatting
romac 8b7a2aa
Disable test unsupported on CI
romac 72bc898
Address review comments
romac 4590350
Rename scheduler::basic_schedule to scheduler::basic_bisecting_schedule
romac 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "light-client" | ||
name = "tendermint-light-client" | ||
version = "0.1.0" | ||
authors = ["Romain Ruetschi <[email protected]>"] | ||
edition = "2018" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
//! Components used by the Light Client. | ||
|
||
pub mod clock; | ||
pub mod fork_detector; | ||
pub mod io; | ||
|
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.
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.
Maybe in the preamble provide reference to the english spec such that the invariants can be looked up by the reader.
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.
@ebuchman suggested getting rid of the prelude entirely for better discoverability so that's perhaps not the right place to put those references. The crate-level documentation in
lib.rs
might be a better fit.