Skip to main content

soil_network/sync/
mod.rs

1// This file is part of Soil.
2
3// Copyright (C) Soil contributors.
4// Copyright (C) Parity Technologies (UK) Ltd.
5// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
6
7//! Blockchain syncing implementation in Substrate.
8
9pub use schema::v1::*;
10pub use service::syncing_service::SyncingService;
11pub use strategy::warp::{WarpSyncConfig, WarpSyncPhase, WarpSyncProgress};
12pub use types::{SyncEvent, SyncEventStream, SyncState, SyncStatus, SyncStatusProvider};
13
14mod block_announce_validator;
15mod futures_stream;
16mod justification_requests;
17mod pending_responses;
18mod schema;
19pub mod types;
20
21pub mod block_relay_protocol;
22pub mod block_request_handler;
23pub mod blocks;
24pub mod engine;
25pub mod mock;
26pub mod service;
27pub mod state_request_handler;
28pub mod strategy;
29pub mod warp_request_handler;
30
31/// Log target for this crate.
32const LOG_TARGET: &str = "sync";