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

Upgrade relayer to v1.17 solana dependencies + refactor a few pieces #87

Merged
merged 22 commits into from
Jan 4, 2024

Conversation

buffalu
Copy link
Contributor

@buffalu buffalu commented Nov 22, 2023

Changes

  • Upgrade relayer to use solana v1.17 dependencies
  • Use the workspace defined cargo dependencies.
  • There's a new packet format, BankingPacketBatch, that's Arc<(Vec<PacketBatch>, Option<SigverifyTracerPacketStats>)> that makes filtering packets on the fly harder. Opt to save memory copy by passing this to relayer + block engine threads (Arc clone) and do any potential OFAC filter (and potentially AOI/POI filtering) in the threads. Removes OFAC stage in replacement of doing things in the relayer + block engine threads.
  • Adjusts StakedNodes to v1.17 style.

TODO:

  • Test on testnet!!
  • Test on mainnet!!
  • Fix packet_blaster code
  • Fix metrics
  • Make packets.chunks(4) adjustable

relayer/src/relayer.rs Outdated Show resolved Hide resolved
@jedleggett jedleggett merged commit ed7d734 into master Jan 4, 2024
3 checks passed
@jedleggett jedleggett deleted the lb/v1.17 branch January 4, 2024 18:44
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