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

Tlsn core prototype #232

Merged
merged 14 commits into from
May 16, 2023
Merged

Tlsn core prototype #232

merged 14 commits into from
May 16, 2023

Conversation

themighty1
Copy link
Member

@themighty1 themighty1 commented May 2, 2023

This PR contains the types for tlsn-core.
The test in lib.rs gives an idea how it can be used.

It is still in a prototype stage and I expect things to be refined. For this reason I did not implement unit tests in those parts which I expect to be changed.

It contains significant changes from #173 , so will require a new review.

This was referenced May 2, 2023
@themighty1 themighty1 requested review from th4s and sinui0 May 2, 2023 11:17
Copy link
Member

@sinui0 sinui0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lookin good! Nice to see these types coming together

I did not exhaustively review every little thing, but the overall flow is on the right track. Let's just take care of some of the code structure + lint suggestions I've provided then get this merged. Following that we can iterate on it as our requirements become more clear as we work to integrate it.

tlsn-core/src/lib.rs Outdated Show resolved Hide resolved
tlsn-core/src/lib.rs Show resolved Hide resolved
tlsn-core/src/lib.rs Outdated Show resolved Hide resolved
tlsn-core/src/lib.rs Outdated Show resolved Hide resolved
tlsn-core/src/lib.rs Outdated Show resolved Hide resolved
tlsn-core/src/error.rs Outdated Show resolved Hide resolved
tlsn-core/src/handshake_data.rs Outdated Show resolved Hide resolved
tlsn-core/src/handshake_data.rs Outdated Show resolved Hide resolved
tlsn-core/src/merkle.rs Outdated Show resolved Hide resolved
tlsn-core/src/session_artifacts.rs Outdated Show resolved Hide resolved
Copy link
Member

@th4s th4s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very nice! Good work 🚀, some comments and questions.

tlsn-core/src/keparams.rs Outdated Show resolved Hide resolved
tlsn-core/src/lib.rs Show resolved Hide resolved
tlsn-core/src/utils.rs Outdated Show resolved Hide resolved
tlsn-core/src/utils.rs Outdated Show resolved Hide resolved
@themighty1 themighty1 merged commit b040451 into dev May 16, 2023
@sinui0 sinui0 deleted the tlsn-core-prototype branch September 7, 2023 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants