v0.3.6-pre.009
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-job-backfill-lib/src/lib.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
@@ -11,8 +11,8 @@
|
||||
//! `getSignaturesForAddress` pagination and canonical RAW v1 conversion through observed
|
||||
//! `getTransaction`. Transport retains provider/endpoint selection and retry; Store retains
|
||||
//! durable idempotence through the atomic Store facade. This tranche also owns bounded concurrent
|
||||
//! candidate execution and caller-owned contiguous checkpoints. Cancellation and concrete latest-value
|
||||
//! snapshots are added by later v0.3.6 tranches.
|
||||
//! candidate execution, caller-owned contiguous checkpoints, cooperative cancellation and concrete
|
||||
//! latest-value snapshots for external listeners.
|
||||
|
||||
mod checkpoint;
|
||||
mod constants;
|
||||
@@ -22,6 +22,7 @@ mod error;
|
||||
mod execution;
|
||||
mod persistence;
|
||||
mod request;
|
||||
mod runtime;
|
||||
|
||||
/// Opaque caller-owned checkpoint for one controlled Backfill resumption.
|
||||
pub use self::checkpoint::BackfillCheckpoint;
|
||||
@@ -59,6 +60,8 @@ pub use self::error::ERROR_CODE_BACKFILL_PERSISTENCE_INVALID;
|
||||
pub use self::error::ERROR_CODE_BACKFILL_RAW_CONVERSION_INVALID;
|
||||
/// Error code used when one Backfill request violates its bounded admission contract.
|
||||
pub use self::error::ERROR_CODE_BACKFILL_REQUEST_INVALID;
|
||||
/// Error code used when the concrete Backfill runtime reaches an impossible lifecycle or notification state.
|
||||
pub use self::error::ERROR_CODE_BACKFILL_RUNTIME_INVALID;
|
||||
/// Error code used when one transaction signature text violates the bounded Base58-shape contract.
|
||||
pub use self::error::ERROR_CODE_BACKFILL_SIGNATURE_INVALID;
|
||||
/// Bounded result of one concurrent Backfill candidate execution pass.
|
||||
@@ -97,6 +100,18 @@ pub use self::request::MAX_BACKFILL_PAGES;
|
||||
pub use self::request::MAX_BACKFILL_SIGNATURE_TEXT_BYTES;
|
||||
/// Minimum Base58 text length possible for one canonical 64-byte Solana signature.
|
||||
pub use self::request::MIN_BACKFILL_SIGNATURE_TEXT_BYTES;
|
||||
/// Stable Job kind code used by the concrete historical RAW transaction Backfill runtime.
|
||||
pub use self::runtime::BACKFILL_JOB_KIND_CODE;
|
||||
/// Cloneable external control handle for one concrete Backfill runtime.
|
||||
pub use self::runtime::BackfillJobHandle;
|
||||
/// Current concrete phase of one historical RAW transaction Backfill Job.
|
||||
pub use self::runtime::BackfillJobPhase;
|
||||
/// Concrete single-run Backfill coordinator paired with a cloneable control/snapshot handle.
|
||||
pub use self::runtime::BackfillJobRuntime;
|
||||
/// Complete safe latest-value snapshot of one concrete historical RAW transaction Backfill Job.
|
||||
pub use self::runtime::BackfillJobSnapshot;
|
||||
/// Cloneable runtime-neutral-facing latest-value source for concrete Backfill snapshots.
|
||||
pub use self::runtime::BackfillSnapshotSource;
|
||||
|
||||
/// Internal contiguous completion frontier used by bounded execution.
|
||||
pub(crate) use self::checkpoint::CompletionFrontier;
|
||||
@@ -114,3 +129,19 @@ pub(crate) use self::checkpoint::validate_request_checkpoint;
|
||||
pub(crate) use self::constants::TRACING_TARGET;
|
||||
/// Exact private Base58 decoder shared by the public signature wrapper and hydration path.
|
||||
pub(crate) use self::conversion::decode_backfill_signature;
|
||||
/// Internal cancellable discovery path used by the concrete runtime.
|
||||
pub(crate) use self::discovery::discover_backfill_candidates_cancellable;
|
||||
/// Internal cooperative cancellation code used to distinguish cancellation from failure.
|
||||
pub(crate) use self::error::ERROR_CODE_BACKFILL_CANCELLED;
|
||||
/// Internal execution progress facts fed into the concrete latest-value source.
|
||||
pub(crate) use self::execution::BackfillExecutionProgress;
|
||||
/// Internal cancellable execution path used by the concrete runtime.
|
||||
pub(crate) use self::execution::execute_backfill_discovery_cancellable;
|
||||
/// Internal concrete cancellation signal shared by discovery and execution.
|
||||
pub(crate) use self::runtime::BackfillCancellationSignal;
|
||||
/// Internal atomic terminal/cancellation arbitration shared by runtime tests and coordinator.
|
||||
pub(crate) use self::runtime::BackfillRuntimeControl;
|
||||
/// Internal execution progress publisher feeding the latest-value snapshot source.
|
||||
pub(crate) use self::runtime::BackfillRuntimePublisher;
|
||||
/// Internal terminal race result used by coordinator canaries.
|
||||
pub(crate) use self::runtime::TerminalClaim;
|
||||
|
||||
Reference in New Issue
Block a user