-
Notifications
You must be signed in to change notification settings - Fork 224
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
Trait-based cryptographic routines API to delegate implementation to downstream crates #1213
Comments
Copying @thanethomson and @mzabaluev as potentially having feedback on this API. Thanks Blas for shepherding this! |
I drafted an implementation of the trait for something similar to what Seun initially proposed. At least this proves that the design of the |
The design looks good to me. It enshrines |
An update: I have discarded the All crypto functions are available for an alternative implementation in terms of |
🎊🎊❤️ |
Description
The goal is to be able to introduce an abstraction that encapsulates a set of everyday cryptographic operations needed
which do not necessarily share the exact underlying implementation details. This is precisely the case when we want to extend the functionality of the
Light Client Verifier
to support different light clients. Ideally, this could be used within any chain to verify the state of any other chain.Based on this pr/discussions we've identified a few elements that we want to resolve:
Proposed interface;
Definition of "done"
The trait is merged into the main branch, all tests are passed, and there is an external implementation of the trait
for another light client that is successfully implemented using this interface.
The text was updated successfully, but these errors were encountered: