Struct ethsync::SyncConfig [] [src]

pub struct SyncConfig {
    pub max_download_ahead_blocks: usize,
    pub download_old_blocks: bool,
    pub network_id: u64,
    pub subprotocol_name: [u8; 3],
    pub light_subprotocol_name: [u8; 3],
    pub fork_block: Option<(BlockNumber, H256)>,
    pub warp_sync: bool,
    pub serve_light: bool,
}

Sync configuration

Fields

Max blocks to download ahead

Enable ancient block download.

Network ID

Main "eth" subprotocol name.

Light "les" subprotocol name.

Fork block to check

Enable snapshot sync

Enable light client server.

Trait Implementations

impl Debug for SyncConfig
[src]

Formats the value using the given formatter.

impl Clone for SyncConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SyncConfig
[src]

impl Default for SyncConfig
[src]

Returns the "default value" for a type. Read more

impl BinaryConvertable for SyncConfig where SyncConfig: Copy