-
Notifications
You must be signed in to change notification settings - Fork 127
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
Framing
crate refactor: cleanup header.rs
and remove Frame
trait
#976
Framing
crate refactor: cleanup header.rs
and remove Frame
trait
#976
Conversation
099aa8c
to
3468e0f
Compare
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Bencher
🚨 1 ALERT: Threshold Boundary Limit exceeded!
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
6f71021
to
7459165
Compare
7459165
to
e51885f
Compare
@plebhash did you change anything here? I see you committed but cant see diff |
I rebased to keep it up with |
e51885f
to
9c9f009
Compare
rebased without further changes |
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.
Not a solution but running them locally should be more stable. |
9c9f009
to
441ae41
Compare
I just rebased this PR to get it ready for merging |
441ae41
to
6413865
Compare
@plebhash I think this is good to go |
1. Removed `NoiseHeader` struct in favor of three constants defined at the top of the file. 2. Added documentation and changed visibility to `pub(crate)` where needed. 3. Removed `Header::Default` and `Sv2Frame::Default` impls as they are unused. 4. Removed `unwrap()`s
The `Frame` trait is used solely by a single struct and it is only adding biolerplate to the code without benifits. We could consider re-adding it in the future if needed.
6413865
to
c62fa3d
Compare
I am breaking #969 into smaller PRs because its touching too many parts of the code and doing it all in a single PR could result in endless conflicts and make it also hard to review.
In this part the
header.rs
file is tied up with a few things removed and replaced by constants and adding docs. the second commit removes theFrame
trait and adjust the code accordingly.Partially resolves #903