v0.2.3-pre.002
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-onchain-transport-lib/src/lib.rs
|
||||
// version: 11
|
||||
// version: 12
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
#![forbid(unsafe_code)]
|
||||
@@ -10,7 +10,8 @@
|
||||
//! independent from `ksp-config-lib`, Store and Program layers. `ksp-config-lib` now constructs these public settings through its one-way Config ->
|
||||
//! Transport adapter without creating a reverse dependency. Logical endpoint clients, priority-aware pools, bounded admission limits and retry/no-resend policy
|
||||
//! are available. The four typed Solana HTTP foundation canaries plus all 22 typed `0.2.2` Accounts, Tokens and Cluster wrappers execute real JSON-RPC
|
||||
//! requests through the shared transport path while the `0.2.3` and `0.2.4` audited families remain staged.
|
||||
//! requests through the shared transport path. `0.2.3` now exposes its shared Transaction wire/config primitives while its 11 typed wrappers remain staged;
|
||||
//! the `0.2.4` family remains fully staged.
|
||||
|
||||
mod client;
|
||||
mod constants;
|
||||
@@ -25,6 +26,7 @@ mod rpc_cluster;
|
||||
mod rpc_common;
|
||||
mod rpc_method;
|
||||
mod rpc_tokens;
|
||||
mod rpc_transactions;
|
||||
mod settings;
|
||||
|
||||
pub(crate) use self::constants::TRACING_TARGET;
|
||||
@@ -197,6 +199,44 @@ pub use self::rpc_tokens::SolanaTokenAccountBalance;
|
||||
pub use self::rpc_tokens::SolanaTokenAccountSelector;
|
||||
/// Token amount returned by Solana HTTP token RPC methods.
|
||||
pub use self::rpc_tokens::SolanaTokenAmount;
|
||||
/// Confirmed transaction result returned by `getTransaction` when the RPC result is non-null.
|
||||
pub use self::rpc_transactions::SolanaConfirmedTransaction;
|
||||
/// Wire-preserving transaction payload returned by `getTransaction`.
|
||||
pub use self::rpc_transactions::SolanaEncodedTransaction;
|
||||
/// Modern configuration object accepted by `getTransaction`.
|
||||
pub use self::rpc_transactions::SolanaGetTransactionConfig;
|
||||
/// Blockhash information returned by `getLatestBlockhash` and optionally by simulation.
|
||||
pub use self::rpc_transactions::SolanaLatestBlockhash;
|
||||
/// One recent prioritization-fee sample returned by `getRecentPrioritizationFees`.
|
||||
pub use self::rpc_transactions::SolanaPrioritizationFee;
|
||||
/// Configuration accepted by `requestAirdrop`.
|
||||
pub use self::rpc_transactions::SolanaRequestAirdropConfig;
|
||||
/// Configuration accepted by `sendTransaction` without changing KSP transport retry semantics.
|
||||
pub use self::rpc_transactions::SolanaSendTransactionConfig;
|
||||
/// One ordered signature record returned by `getSignaturesForAddress`.
|
||||
pub use self::rpc_transactions::SolanaSignatureInfo;
|
||||
/// One non-null position returned by `getSignatureStatuses`.
|
||||
pub use self::rpc_transactions::SolanaSignatureStatus;
|
||||
/// Optional historical-search configuration accepted by `getSignatureStatuses`.
|
||||
pub use self::rpc_transactions::SolanaSignatureStatusesConfig;
|
||||
/// Pagination and context configuration accepted by `getSignaturesForAddress`.
|
||||
pub use self::rpc_transactions::SolanaSignaturesForAddressConfig;
|
||||
/// Configuration accepted by `simulateTransaction`.
|
||||
pub use self::rpc_transactions::SolanaSimulateTransactionConfig;
|
||||
/// Rich result payload returned inside the contextual `simulateTransaction` response.
|
||||
pub use self::rpc_transactions::SolanaSimulateTransactionResult;
|
||||
/// Account-return configuration nested under `simulateTransaction`.
|
||||
pub use self::rpc_transactions::SolanaSimulationAccountsConfig;
|
||||
/// Binary encoding accepted for serialized transaction input payloads.
|
||||
pub use self::rpc_transactions::SolanaTransactionBinaryEncoding;
|
||||
/// Confirmation state reported for a signature or transaction status.
|
||||
pub use self::rpc_transactions::SolanaTransactionConfirmationStatus;
|
||||
/// Encoding accepted by `getTransaction`, including its retained legacy `binary` alias.
|
||||
pub use self::rpc_transactions::SolanaTransactionEncoding;
|
||||
/// Transaction version reported by `getTransaction` when the version field is present.
|
||||
pub use self::rpc_transactions::SolanaTransactionVersion;
|
||||
/// Three-state wire field used when Solana distinguishes omission from an explicit JSON `null`.
|
||||
pub use self::rpc_transactions::SolanaWireField;
|
||||
/// Open cluster or network descriptor used by HTTP endpoint settings.
|
||||
pub use self::settings::HttpClusterName;
|
||||
/// Runtime settings for one role declared by an HTTP endpoint.
|
||||
|
||||
Reference in New Issue
Block a user