[][src]Struct beacon_node::ProductionBeaconNode

pub struct ProductionBeaconNode<E: EthSpec>(_);

The beacon node Client that will be used in production.

Generic over some EthSpec.

Notes:

Despite being titled Production..., this code is not ready for production. The name demonstrates an intention, not a promise.

Methods

impl<E: EthSpec> ProductionBeaconNode<E>[src]

pub fn new_from_cli<'a, 'b>(
    context: RuntimeContext<E>,
    matches: &ArgMatches<'b>
) -> impl Future<Item = Self, Error = String> + 'a
[src]

Starts a new beacon node Client in the given environment.

Identical to start_from_client_config, however the client_config is generated from the given matches and potentially configuration files on the local filesystem or other configurations hosted remotely.

pub fn new(
    context: RuntimeContext<E>,
    client_config: ClientConfig
) -> impl Future<Item = Self, Error = String>
[src]

Starts a new beacon node Client in the given environment.

Client behaviour is defined by the given client_config.

pub fn into_inner(self) -> ProductionClient<E>[src]

Trait Implementations

impl<E: EthSpec> DerefMut for ProductionBeaconNode<E>[src]

impl<E: EthSpec> Deref for ProductionBeaconNode<E>[src]

type Target = ProductionClient<E>

The resulting type after dereferencing.

Auto Trait Implementations

impl<E> Send for ProductionBeaconNode<E> where
    <E as EthSpec>::EpochsPerHistoricalVector: Send + Sync,
    <E as EthSpec>::EpochsPerSlashingsVector: Send + Sync,
    <E as EthSpec>::HistoricalRootsLimit: Send + Sync,
    <E as EthSpec>::JustificationBitsLength: Send + Sync,
    <E as EthSpec>::MaxAttestations: Send + Sync,
    <E as EthSpec>::MaxAttesterSlashings: Send + Sync,
    <E as EthSpec>::MaxDeposits: Send + Sync,
    <E as EthSpec>::MaxPendingAttestations: Send + Sync,
    <E as EthSpec>::MaxProposerSlashings: Send + Sync,
    <E as EthSpec>::MaxTransfers: Send + Sync,
    <E as EthSpec>::MaxValidatorsPerCommittee: Send + Sync,
    <E as EthSpec>::MaxVoluntaryExits: Send + Sync,
    <E as EthSpec>::ShardCount: Send + Sync,
    <E as EthSpec>::SlotsPerEth1VotingPeriod: Send + Sync,
    <E as EthSpec>::SlotsPerHistoricalRoot: Send + Sync,
    <E as EthSpec>::ValidatorRegistryLimit: Send + Sync

impl<E> Unpin for ProductionBeaconNode<E>

impl<E> Sync for ProductionBeaconNode<E> where
    <E as EthSpec>::EpochsPerHistoricalVector: Send + Sync,
    <E as EthSpec>::EpochsPerSlashingsVector: Send + Sync,
    <E as EthSpec>::HistoricalRootsLimit: Send + Sync,
    <E as EthSpec>::JustificationBitsLength: Send + Sync,
    <E as EthSpec>::MaxAttestations: Send + Sync,
    <E as EthSpec>::MaxAttesterSlashings: Send + Sync,
    <E as EthSpec>::MaxDeposits: Send + Sync,
    <E as EthSpec>::MaxPendingAttestations: Send + Sync,
    <E as EthSpec>::MaxProposerSlashings: Send + Sync,
    <E as EthSpec>::MaxTransfers: Send + Sync,
    <E as EthSpec>::MaxValidatorsPerCommittee: Send + Sync,
    <E as EthSpec>::MaxVoluntaryExits: Send + Sync,
    <E as EthSpec>::ShardCount: Send + Sync,
    <E as EthSpec>::SlotsPerEth1VotingPeriod: Send + Sync,
    <E as EthSpec>::SlotsPerHistoricalRoot: Send + Sync,
    <E as EthSpec>::ValidatorRegistryLimit: Send + Sync

impl<E> !UnwindSafe for ProductionBeaconNode<E>

impl<E> !RefUnwindSafe for ProductionBeaconNode<E>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Erased for T