-
Notifications
You must be signed in to change notification settings - Fork 216
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
Use flex-error for tendermint-rs errors #923
Merged
Merged
Commits on Jun 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8bd987c - Browse repository at this point
Copy the full SHA 8bd987cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df6c59 - Browse repository at this point
Copy the full SHA 0df6c59View commit details
Commits on Jul 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f9edb66 - Browse repository at this point
Copy the full SHA f9edb66View commit details -
Configuration menu - View commit details
-
Copy full SHA for d042c04 - Browse repository at this point
Copy the full SHA d042c04View commit details -
Configuration menu - View commit details
-
Copy full SHA for c21edce - Browse repository at this point
Copy the full SHA c21edceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a26cd - Browse repository at this point
Copy the full SHA 90a26cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4a41df - Browse repository at this point
Copy the full SHA c4a41dfView commit details
Commits on Jul 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 668beb3 - Browse repository at this point
Copy the full SHA 668beb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98a161a - Browse repository at this point
Copy the full SHA 98a161aView commit details
Commits on Jul 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 266e0cc - Browse repository at this point
Copy the full SHA 266e0ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9bb713 - Browse repository at this point
Copy the full SHA a9bb713View commit details
Commits on Jul 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 45f95ad - Browse repository at this point
Copy the full SHA 45f95adView commit details -
Configuration menu - View commit details
-
Copy full SHA for f79236f - Browse repository at this point
Copy the full SHA f79236fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdee9e1 - Browse repository at this point
Copy the full SHA cdee9e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67e275b - Browse repository at this point
Copy the full SHA 67e275bView commit details
Commits on Jul 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5682f66 - Browse repository at this point
Copy the full SHA 5682f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5763a28 - Browse repository at this point
Copy the full SHA 5763a28View commit details
Commits on Jul 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 08115e0 - Browse repository at this point
Copy the full SHA 08115e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17506fa - Browse repository at this point
Copy the full SHA 17506faView commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 515f31e - Browse repository at this point
Copy the full SHA 515f31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2095a70 - Browse repository at this point
Copy the full SHA 2095a70View commit details
Commits on Jul 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bef6287 - Browse repository at this point
Copy the full SHA bef6287View commit details -
Configuration menu - View commit details
-
Copy full SHA for da2ed80 - Browse repository at this point
Copy the full SHA da2ed80View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb30f30 - Browse repository at this point
Copy the full SHA bb30f30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a0df2 - Browse repository at this point
Copy the full SHA 90a0df2View commit details
Commits on Aug 3, 2021
-
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Configuration menu - View commit details
-
Copy full SHA for 2ea6da4 - Browse repository at this point
Copy the full SHA 2ea6da4View commit details
Commits on Aug 7, 2021
-
flex-error: resolve conflicts with
master
(#945)* Implement full-duplex secret connection (#938) * Implement thread-safe cloning of a secret connection Signed-off-by: Thane Thomson <connect@thanethomson.com> * Expand documentation for SecretConnection on threading considerations Signed-off-by: Thane Thomson <connect@thanethomson.com> * Extract peer construction into its own method Signed-off-by: Thane Thomson <connect@thanethomson.com> * Add test for cloned SecretConnection This adds a `TcpStream`-based test for parallelizing operations on a `SecretConnection`. I used `TcpStream` instead of the buffered reader in the other tests because it wasn't feasible to implement the `TryClone` trait for that buffered pipe implementation. Signed-off-by: Thane Thomson <connect@thanethomson.com> * Add more messages to test Signed-off-by: Thane Thomson <connect@thanethomson.com> * Expand comment for clarity Signed-off-by: Thane Thomson <connect@thanethomson.com> * Add .changelog entry Signed-off-by: Thane Thomson <connect@thanethomson.com> * Restore half-duplex operations Signed-off-by: Thane Thomson <connect@thanethomson.com> * Extract encrypt/decrypt fns as independent methods Signed-off-by: Thane Thomson <connect@thanethomson.com> * Remove unnecessary trait bounds Signed-off-by: Thane Thomson <connect@thanethomson.com> * Extract send/receive state Signed-off-by: Thane Thomson <connect@thanethomson.com> * Extract read/write functionality as standalone methods Signed-off-by: Thane Thomson <connect@thanethomson.com> * Add logic to facilitate splitting SecretConnection into its sending and receiving halves Signed-off-by: Thane Thomson <connect@thanethomson.com> * Restore split SecretConnection test using new semantics Signed-off-by: Thane Thomson <connect@thanethomson.com> * Update changelog entry Signed-off-by: Thane Thomson <connect@thanethomson.com> * Update docs for `SecretConnection` Signed-off-by: Thane Thomson <connect@thanethomson.com> * Condense error reporting Signed-off-by: Thane Thomson <connect@thanethomson.com> * Extract TryClone trait into its own crate As per the discussion at #938 (comment), this extracts the `TryClone` trait into a new crate called `tendermint-std-ext` in the `std-ext` directory. This new crate is intended to contain any code that we need that extends the Rust standard library. Signed-off-by: Thane Thomson <connect@thanethomson.com> * Reorder imports Signed-off-by: Thane Thomson <connect@thanethomson.com> * Assert validation regardless of debug build This introduces the internal encryption assertions at runtime regardless of build type. This may introduce a small performance hit, but it's probably worth it to ensure correctness. Effectively this is keeping an eye on the code in the `encrypt_and_write` fn to ensure its correctness. Signed-off-by: Thane Thomson <connect@thanethomson.com> * Remove remote_pubkey optionality from sender/receiver halves Signed-off-by: Thane Thomson <connect@thanethomson.com> * Update SecretConnection docs with comment content Signed-off-by: Thane Thomson <connect@thanethomson.com> * Fix doc link to TryClone trait Signed-off-by: Thane Thomson <connect@thanethomson.com> * Fix doc link to TryClone trait Signed-off-by: Thane Thomson <connect@thanethomson.com> * Add docs on SecretConnection failures and connection integrity Signed-off-by: Thane Thomson <connect@thanethomson.com> * Synchronize sending/receiving failures to comply with crypto algorithm constraints Signed-off-by: Thane Thomson <connect@thanethomson.com> * Rename try_split method to split for SecretConnection Signed-off-by: Thane Thomson <connect@thanethomson.com> * Remove redundant field name prefixes Signed-off-by: Thane Thomson <connect@thanethomson.com> * Fix broken link in docs Signed-off-by: Thane Thomson <connect@thanethomson.com> * Fix recent clippy errors on `master` (#941) * Fix needless borrows in codebase Signed-off-by: Thane Thomson <connect@thanethomson.com> * Ignore needless collect warning (we do actually seem to need it) Signed-off-by: Thane Thomson <connect@thanethomson.com> * Remove trailing semicolon in macro to fix docs compiling Signed-off-by: Thane Thomson <connect@thanethomson.com>
Configuration menu - View commit details
-
Copy full SHA for bc2f0cb - Browse repository at this point
Copy the full SHA bc2f0cbView commit details -
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Configuration menu - View commit details
-
Copy full SHA for c699ba1 - Browse repository at this point
Copy the full SHA c699ba1View commit details -
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Configuration menu - View commit details
-
Copy full SHA for ab1aae4 - Browse repository at this point
Copy the full SHA ab1aae4View commit details -
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Configuration menu - View commit details
-
Copy full SHA for afd7185 - Browse repository at this point
Copy the full SHA afd7185View commit details
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.