Skip to content

Releases: Lythaeon/sof

v0.1.0

17 Feb 09:36

Choose a tag to compare

SOF v0.1.0

Initial public release of SOF (Solana Observer Framework).

SOF is a lightweight observer runtime for low-latency shred ingestion, dataset reconstruction, transaction extraction, and plugin-driven extensions.

Highlights

  • Async plugin framework with hot-path protection:
    • non-blocking enqueue
    • bounded event queue
    • sampled drop warnings under pressure
  • Plugin dispatch strategies:
    • PluginDispatchMode::Sequential
    • PluginDispatchMode::BoundedConcurrent(N)
  • Expanded hook surface (7 hooks total):
    • on_raw_packet
    • on_shred
    • on_dataset
    • on_transaction
    • on_recent_blockhash
    • on_cluster_topology (gossip mode)
    • on_leader_schedule (event-driven, gossip mode)
  • Global observed state accessors on PluginHost:
    • latest_observed_recent_blockhash()
    • latest_observed_tpu_leader()
  • Control-plane-only mode support:
    • SOF_LIVE_SHREDS_ENABLED=false

Runtime and Examples

  • Runtime example quick starts are now cleaner and env-light.
  • Added/updated plugin examples, including TPU leader logging:
    • tpu_leader_logger
    • observer_with_non_vote_plugin
    • observer_with_multiple_plugins
    • non_vote_tx_logger
    • raydium_contract