pub struct FullDependencies {
Show 19 fields pub signer_service: Arc<SignerService>, pub client: Arc<Client>, pub snapshot: Arc<dyn SnapshotService>, pub sync: Arc<dyn SyncProvider>, pub net: Arc<dyn ManageNetwork>, pub accounts: Arc<AccountProvider>, pub miner: Arc<Miner>, pub external_miner: Arc<ExternalMiner>, pub logger: Arc<RotatingLogger>, pub settings: Arc<NetworkSettings>, pub net_service: Arc<dyn ManageNetwork>, pub experimental_rpcs: bool, pub ws_address: Option<Host>, pub fetch: FetchClient, pub executor: Executor, pub gas_price_percentile: usize, pub poll_lifetime: u32, pub allow_missing_blocks: bool, pub no_ancient_blocks: bool,
}
Expand description

RPC dependencies for a full node.

Fields

signer_service: Arc<SignerService>client: Arc<Client>snapshot: Arc<dyn SnapshotService>sync: Arc<dyn SyncProvider>net: Arc<dyn ManageNetwork>accounts: Arc<AccountProvider>miner: Arc<Miner>external_miner: Arc<ExternalMiner>logger: Arc<RotatingLogger>settings: Arc<NetworkSettings>net_service: Arc<dyn ManageNetwork>experimental_rpcs: boolws_address: Option<Host>fetch: FetchClientexecutor: Executorgas_price_percentile: usizepoll_lifetime: u32allow_missing_blocks: boolno_ancient_blocks: bool

Implementations

Trait Implementations

Create the activity notifier.

Extend the given I/O handler with endpoints for each API.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.