-
Notifications
You must be signed in to change notification settings - Fork 387
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 parameter struct for configuring QUIC streamer #3328
Conversation
9b462c8
to
451f64a
Compare
451f64a
to
271f82c
Compare
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.
nice thanks
Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis. |
@sakridge I merged this since I'm doing changes that would conflict otherwise |
refactor: Use parameter struct for configuring QUIC streamer (cherry picked from commit 6319db8)
great, thanks |
these change break a public interface with external consumers. we should not be changing the function signatures like this prefer something like recommend revert and resubmit |
hmm. yes, the jito-relayers were using the interfaces. |
When did we ever bless these as consumable? Not every function we make public in a crate is intended to be consumed, and if so it's at your own risk of it being changed. |
https://crates.io/crates/solana-streamer/reverse_dependencies?page=3 -- only jito relayers are using it directly. I guess it won't be too difficult to correct their code. |
Yeah I think I raised this a couple of times on discord, but by now I'm running with the assumption that all these crates and symbols are not really API unless they're re-exported by on chain stuff (which we should never break). Like... in this quic module we're even exporting |
refactor: Use parameter struct for configuring QUIC streamer
Problem
Methods with too many complicated parameters and duplication of parameterizing the quic server.
Summary of Changes
Add a parameter struct to pass the QUIC server parameters.
Fixes #