v0.2.2-pre.002-fix.001
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-onchain-transport-lib/src/lib.rs
|
||||
// version: 7
|
||||
// version: 8
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
#![forbid(unsafe_code)]
|
||||
@@ -91,34 +91,24 @@ pub use self::resilience::HttpRetryCause;
|
||||
pub use self::resilience::HttpRetryDecision;
|
||||
/// Evaluates the centralized bounded HTTP retry policy for one audited RPC method.
|
||||
pub use self::resilience::evaluate_transport_retry;
|
||||
/// Optional typed configuration for the `getBalance` canary.
|
||||
pub use self::rpc_canary::GetBalanceConfig;
|
||||
/// Typed lamport balance returned by the `getBalance` canary.
|
||||
pub use self::rpc_canary::GetBalanceResult;
|
||||
/// Typed genesis hash returned by the `getGenesisHash` canary.
|
||||
pub use self::rpc_canary::SolanaGenesisHash;
|
||||
/// Typed healthy result returned by the `getHealth` canary.
|
||||
pub use self::rpc_canary::SolanaNodeHealth;
|
||||
/// Typed software-version response returned by the `getVersion` canary.
|
||||
pub use self::rpc_canary::SolanaNodeVersion;
|
||||
/// Account-data encoding accepted by Solana HTTP account methods.
|
||||
pub use self::rpc_accounts::SolanaAccountEncoding;
|
||||
/// Typed transport-level Solana account without Program/SPL decoding.
|
||||
pub use self::rpc_accounts::SolanaAccount;
|
||||
/// Address and lamport balance returned by `getLargestAccounts`.
|
||||
pub use self::rpc_accounts::SolanaAccountBalance;
|
||||
/// Wire-preserving account data returned by Solana HTTP account methods.
|
||||
pub use self::rpc_accounts::SolanaAccountData;
|
||||
/// Account-data encoding accepted by Solana HTTP account methods.
|
||||
pub use self::rpc_accounts::SolanaAccountEncoding;
|
||||
/// Shared account configuration used by account-info and token-account list methods.
|
||||
pub use self::rpc_accounts::SolanaAccountInfoConfig;
|
||||
/// Byte range requested from account data without decoding it locally.
|
||||
pub use self::rpc_accounts::SolanaDataSliceConfig;
|
||||
/// One public key plus its account returned by account-list RPC methods.
|
||||
pub use self::rpc_accounts::SolanaKeyedAccount;
|
||||
/// Filter accepted by `getLargestAccounts`.
|
||||
pub use self::rpc_accounts::SolanaLargestAccountsFilter;
|
||||
/// Optional configuration for `getLargestAccounts`.
|
||||
pub use self::rpc_accounts::SolanaLargestAccountsConfig;
|
||||
/// Filter accepted by `getLargestAccounts`.
|
||||
pub use self::rpc_accounts::SolanaLargestAccountsFilter;
|
||||
/// Bytes used by a `memcmp` program-account filter.
|
||||
pub use self::rpc_accounts::SolanaMemcmpBytes;
|
||||
/// One `memcmp` filter applied to account data.
|
||||
@@ -131,6 +121,16 @@ pub use self::rpc_accounts::SolanaProgramAccountFilter;
|
||||
pub use self::rpc_accounts::SolanaProgramAccountsConfig;
|
||||
/// Result union returned by `getProgramAccounts` with or without an RPC context.
|
||||
pub use self::rpc_accounts::SolanaProgramAccountsResult;
|
||||
/// Optional typed configuration for the `getBalance` canary.
|
||||
pub use self::rpc_canary::GetBalanceConfig;
|
||||
/// Typed lamport balance returned by the `getBalance` canary.
|
||||
pub use self::rpc_canary::GetBalanceResult;
|
||||
/// Typed genesis hash returned by the `getGenesisHash` canary.
|
||||
pub use self::rpc_canary::SolanaGenesisHash;
|
||||
/// Typed healthy result returned by the `getHealth` canary.
|
||||
pub use self::rpc_canary::SolanaNodeHealth;
|
||||
/// Typed software-version response returned by the `getVersion` canary.
|
||||
pub use self::rpc_canary::SolanaNodeVersion;
|
||||
/// Contact information returned for one cluster node.
|
||||
pub use self::rpc_cluster::SolanaClusterNode;
|
||||
/// Epoch-credit history entry returned by `getVoteAccounts`.
|
||||
@@ -163,15 +163,11 @@ pub use self::rpc_common::SolanaContextConfig;
|
||||
pub use self::rpc_common::SolanaRpcContext;
|
||||
/// Generic contextual result returned by typed Solana HTTP RPC adapters.
|
||||
pub use self::rpc_common::SolanaRpcResponse;
|
||||
/// Exclusive selector accepted by token-account list RPC methods.
|
||||
pub use self::rpc_tokens::SolanaTokenAccountSelector;
|
||||
/// Token-account balance entry returned by `getTokenLargestAccounts`.
|
||||
pub use self::rpc_tokens::SolanaTokenAccountBalance;
|
||||
/// Token amount returned by Solana HTTP token RPC methods.
|
||||
pub use self::rpc_tokens::SolanaTokenAmount;
|
||||
/// Decodes one private serde wire type into the shared Transport error domain.
|
||||
#[cfg(test)]
|
||||
/// Decodes one private serde wire type into the shared Transport error domain for staged DTO tests.
|
||||
pub(crate) use self::rpc_common::decode_wire_json;
|
||||
/// Parses a base58 public key without echoing its wire value into diagnostics.
|
||||
#[cfg(test)]
|
||||
/// Parses a base58 public key without echoing its wire value into diagnostics for staged DTO tests.
|
||||
pub(crate) use self::rpc_common::parse_wire_pubkey;
|
||||
/// Functional category used by the audited Solana HTTP JSON-RPC registry.
|
||||
pub use self::rpc_method::HttpRpcCategory;
|
||||
@@ -195,6 +191,12 @@ pub use self::rpc_method::current_http_rpc_methods;
|
||||
pub use self::rpc_method::find_http_rpc_method;
|
||||
/// Returns historically documented deprecated HTTP RPC descriptors retained for compliance history.
|
||||
pub use self::rpc_method::historical_http_rpc_methods;
|
||||
/// Token-account balance entry returned by `getTokenLargestAccounts`.
|
||||
pub use self::rpc_tokens::SolanaTokenAccountBalance;
|
||||
/// Exclusive selector accepted by token-account list RPC methods.
|
||||
pub use self::rpc_tokens::SolanaTokenAccountSelector;
|
||||
/// Token amount returned by Solana HTTP token RPC methods.
|
||||
pub use self::rpc_tokens::SolanaTokenAmount;
|
||||
/// 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