referrerpolicy=no-referrer-when-downgrade

Crate sc_hop

Crate sc_hop 

Source
Expand description

§sc-hop — Hand-Off Protocol

Node-level ephemeral disk-backed data pool for Substrate collators, with an RPC for submit/claim/ack, best-effort on-chain promotion, per-account rate limiting, and graceful degradation when the runtime lacks HopRuntimeApi.

See the crate README for the design overview, integration guide, CLI flags, RPC reference, and error codes.

Re-exports§

pub use cli::HopParams;
pub use pool::HopDataPool;
pub use promotion::build_maintenance_task;
pub use promotion::HopMaintenanceTask;
pub use rate_limit::RateLimitConfig;
pub use rate_limit::RateLimiter;
pub use rpc::HopApiServer;
pub use rpc::HopRpcServer;
pub use types::HopBlockNumber;
pub use types::HopEntryMeta;
pub use types::HopError;
pub use types::HopHash;
pub use types::PoolStatus;
pub use types::SenderId;
pub use types::SubmitResult;

Modules§

cli
HOP CLI parameters.
pool
HOP data pool: in-memory index backed by sharded on-disk storage.
promotion
HOP maintenance: periodic promotion of near-expiry pool entries to permanent on-chain storage and cleanup of expired entries.
rate_limit
Per-account submit rate limiting for HOP.
rpc
HOP (Hand-Off protocol) RPC interface implementation.
runtime_api
Dynamic-dispatch wrappers for the HOP runtime API.
types
HOP types and data structures.