mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
Move around stuff in sc_network (#5847)
This commit is contained in:
@@ -58,32 +58,13 @@ use sc_client_api::{ChangesProof, StorageProof};
|
||||
use util::LruHashSet;
|
||||
use wasm_timer::Instant;
|
||||
|
||||
// Include sources generated from protobuf definitions.
|
||||
pub mod api {
|
||||
pub mod v1 {
|
||||
include!(concat!(env!("OUT_DIR"), "/api.v1.rs"));
|
||||
pub mod finality {
|
||||
include!(concat!(env!("OUT_DIR"), "/api.v1.finality.rs"));
|
||||
}
|
||||
pub mod light {
|
||||
include!(concat!(env!("OUT_DIR"), "/api.v1.light.rs"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mod generic_proto;
|
||||
mod util;
|
||||
|
||||
pub mod block_requests;
|
||||
pub mod finality_requests;
|
||||
pub mod message;
|
||||
pub mod event;
|
||||
pub mod light_client_handler;
|
||||
pub mod sync;
|
||||
|
||||
pub use block_requests::BlockRequests;
|
||||
pub use finality_requests::FinalityProofRequests;
|
||||
pub use light_client_handler::LightClientHandler;
|
||||
pub use generic_proto::LegacyConnectionKillError;
|
||||
|
||||
const REQUEST_TIMEOUT_SEC: u64 = 40;
|
||||
|
||||
Reference in New Issue
Block a user