feat(gossip): add semantic dedupe and ledger mode#37
Merged
Lythaeon merged 4 commits intoMar 12, 2026
Conversation
perf(gossip): preverify inbound CRDS and cache verifying keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR is the stacked follow-up on top of
feature/jito-transport.It does not add new Jito transport logic. It covers only the native
feature/semantic-dedupe-ledger-modework:sof-observerChanges
crates/sof-observer/src/app/state/dedupe.rscrates/sof-observer/src/app/runtime/runloop/driver.rscrates/sof-observer/src/runtime_metrics.rscrates/sof-observer/src/app/runtime/bootstrap/gossip/*crates/sof-solana-gossip/*solana-ledger/RocksDB native dependency stack into the active graph by default.Docs
sof-observerREADME, and operations docs to describe SOF as low-latency market infrastructure.For slice-related changes, include:
sof-observerandsof-solana-gossipnow have a cleaner contract around default lightweight duplicate handling vs opt-in ledger-backed duplicate-shred tooling.Motivation
Business motivation:
Technical motivation:
Alternative approaches considered:
Scope and impact
sof-observerruntime/bootstrap/statesof-solana-gossipsolana-ledger/RocksDB dependency cost unless that path is explicitly enabledTesting
Commands/results:
All passed locally during branch validation for this work.
Related issues and documentation
docs/architecture/README.mddocs/operations/advanced-env.md,README.md,crates/sof-observer/README.mdReviewer checklist
docs/architecture/ard/0003-slice-dependency-contracts.md)Additional notes
Trade-offs, follow-up work, or deviations from standards.