[][src]Enum beacon_node::ClientGenesis

pub enum ClientGenesis {
    Interop {
        validator_count: usize,
        genesis_time: u64,
    SszFile {
        path: PathBuf,
    RemoteNode {
        server: String,
        port: Option<u16>,

Defines how the client should initialize the BeaconChain and other components.



Reads the genesis state and other persisted data from the Store.


Creates a genesis state as per the 2019 Canada interop specifications.

Fields of Interop

validator_count: usizegenesis_time: u64

Connects to an eth1 node and waits until it can create the genesis state from the deposit contract.


Loads the genesis state from a SSZ-encoded BeaconState file.

Fields of SszFile

path: PathBuf

Connects to another Lighthouse instance and reads the genesis state and other data via the HTTP API.

Fields of RemoteNode

server: Stringport: Option<u16>

Trait Implementations

impl Debug for ClientGenesis[src]

impl Clone for ClientGenesis[src]

impl Serialize for ClientGenesis[src]

impl Default for ClientGenesis[src]

impl<'de> Deserialize<'de> for ClientGenesis[src]

Auto Trait Implementations

impl Send for ClientGenesis

impl Unpin for ClientGenesis

impl Sync for ClientGenesis

impl UnwindSafe for ClientGenesis

impl RefUnwindSafe for ClientGenesis

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

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