Skip to main content

Module client

Module client 

Source

Re-exports§

pub use chain_client::ChainClient;
pub use crate::data_types::ClientOutcome;
pub use requests_scheduler::RequestsScheduler;
pub use requests_scheduler::RequestsSchedulerConfig;
pub use requests_scheduler::ScoringWeights;

Modules§

chain_client
requests_scheduler
This module manages communication with validator nodes, including load balancing, request deduplication, caching, and performance tracking.

Structs§

AbortOnDrop
Wrapper for AbortHandle that aborts when its dropped.
ChainModes
The per-chain ListeningModes tracked by a local node, together with a memoized Hashed of the fully-tracked subset.
Client
A builder that creates ChainClients which share the cache and notifiers.
PendingProposal
A pending proposed block, together with its published blobs.

Enums§

ListeningMode
Defines what type of notifications we should process for a chain:
TimingType

Statics§

DEFAULT_CERTIFICATE_DOWNLOAD_BATCH_SIZE
DEFAULT_CERTIFICATE_UPLOAD_BATCH_SIZE
DEFAULT_MAX_CONCURRENT_BATCH_DOWNLOADS
DEFAULT_MAX_EVENT_STREAM_QUERIES
DEFAULT_SENDER_CERTIFICATE_DOWNLOAD_BATCH_SIZE

Functions§

create_bytecode_blobs
Creates a compressed Contract, Service and bytecode, plus an optional ApplicationFormats blob built from the JSON-encoded Formats description bytes.