Skip to content

Commit

Permalink
Rename service/engine.rs -> service/syncing_service.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin committed Nov 14, 2023
1 parent 28d7bbe commit 7c21d52
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion substrate/client/network/sync/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use crate::{
schema::v1::{StateRequest, StateResponse},
service::{
self,
engine::{SyncingService, ToServiceCommand},
syncing_service::{SyncingService, ToServiceCommand},
},
types::{
BadPeer, ExtendedPeerInfo, OpaqueStateRequest, OpaqueStateResponse, PeerRequest, SyncEvent,
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/network/sync/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

//! Blockchain syncing implementation in Substrate.
pub use service::engine::SyncingService;
pub use service::syncing_service::SyncingService;
pub use types::{SyncEvent, SyncEventStream, SyncState, SyncStatus, SyncStatusProvider};

mod block_announce_validator;
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/network/sync/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

//! `SyncingEngine`-related service code
pub mod engine;
pub mod mock;
pub mod network;
pub mod syncing_service;
2 changes: 1 addition & 1 deletion substrate/client/network/test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ use sc_network_common::role::Roles;
use sc_network_light::light_client_requests::handler::LightClientRequestHandler;
use sc_network_sync::{
block_request_handler::BlockRequestHandler,
service::{engine::SyncingService, network::NetworkServiceProvider},
service::{network::NetworkServiceProvider, syncing_service::SyncingService},
state_request_handler::StateRequestHandler,
warp::{
AuthorityList, EncodedProof, SetId, VerificationResult, WarpSyncParams, WarpSyncProvider,
Expand Down

0 comments on commit 7c21d52

Please sign in to comment.