Restore vortexor receiver -- renamed to agave-verified-packet-receiver#6542
Conversation
|
@lijunwangs - I was under the impression vortexor was still a WIP; I can see that Some other general questions:
|
Vortexor is now working end-to-end before this was reverted. Of course, we keep improving it by adding features but basically it is working.
I am not sure about the rule. Most of our crate are with solana- prefixed and I keep that. Open to change to agave- if it makes sense.
In the future, we do have plan to move the solana-vortexor out. But this PR is about the vortexor receiver which is lib used by the validator. I think the vortexor-receiver belongs this repo.
Currently it is very simple just a thin wrapper to start a streamer. In the future we will support optionally using QUIC streamer and authentication validating vortexor identity and etc. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6542 +/- ##
=========================================
- Coverage 82.8% 82.8% -0.1%
=========================================
Files 849 851 +2
Lines 379408 379689 +281
=========================================
+ Hits 314277 314416 +139
- Misses 65131 65273 +142 🚀 New features to boost your workflow:
|
|
the remote server responded with an error (status 400 Bad Request): A crate with the name |
Gotcha, I guess we don't have a firm rule but I think
Changes to the vortexor receiver should line up with changes to actual vortexor right ? Ie, if the bin supports QUIC then the receiver would need to as well. Are those set to happen in the short term. And semi-related, is there a timeline for when vortexor moves into its own repo ?
Gotcha, my question was whether the receiver should be considered a "generic" component. Ie, would it be the case that someone potentially writes their own implementation that is comparable to vortexor and wants to use their custom piece ? if so, I'd argue a more generic name might fit. This name is probably too verbose but might help get across what I'm getting at: |
I can rename it to agave-verified-packet-receiver.
Yes, under some case, impacting the protocol used between them we need make changes on both sides. The receiver side can also have other changes on its own for improvements. In my opinion it is simpler put the receiver support library in the mono repo.
I was planning wrapping my current work -- heartbeat support for vortexor. Then work on splitting the vortexor binary off to its own repo.
It is is related to question number 1, how do you like agave-verified-packet-receiver -- (this is actually more inline with the design doc. https://github.com/anza-xyz/agave/tree/master/vortexor) |
|
@steviez I renamed the crate to agave-verified-packet receiver. Can you follow up on this? Thanks |
|
Can we get an accurate description of the PR in the title? This is not just reverting a previously reverted PR. |
Done |
|
I sort of have lack of context here because I don't know what exactly Vortexor is doing. My understanding is it will be replacement of the jito-relayer but maybe I'm wrong. |
Please refer to https://github.com/anza-xyz/agave/tree/master/vortexor for context |
| enable_block_production_forwarding.then(|| forward_stage_sender.clone()), | ||
| ); | ||
| SigVerifyStage::new(packet_receiver, verifier, "solSigVerTpu", "tpu-verifier") | ||
| SigVerifier::Local(SigVerifyStage::new( |
There was a problem hiding this comment.
To confirm, if we're using vortexor then we don't create a local sigverifier and thus have no way to ingest transactions should vortexor connection get interrupted right ?
I guess vortexor is opt-in as of now so this is possibly fine
There was a problem hiding this comment.
Yes. That is the current behavior. In the heartbeat support which I am going to submit PR for after this, we will monitor traffic and heartbeat from the vortexor. And if we decide the vortexor is down or disconnected, it can auto switch back to the local sig verifier.
Hmm ok, we can revisit down the road if necessary
Nice |
|
I'm not positive about either component living in the monorepo in the long term, but given that it is opt-in for the vortexor let's continue and we can revisit when we get closer to cutting v3.0 branch. |
Problem
restore the vortexor receiver code which was reverted due to unpublished dependency
Summary of Changes
Revert revert vortexor receiver
renamed to agave-verified-packet-receiver
publishing agave-verified-packet-receiver
Fixes #
Notes:
The original PR for this functionality:
#5321
The revert PR which unblocked publishing
#6525