mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 05:07:55 +00:00
Move legacy_proto to protocol (#4296)
* Move legacy_proto to protocol * Edition 2018ize legacy_proto * Some basic documentation
This commit is contained in:
committed by
Gavin Wood
parent
e126ca9b2c
commit
2231c06294
@@ -15,7 +15,7 @@
|
||||
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::{DiscoveryNetBehaviour, config::ProtocolId};
|
||||
use crate::legacy_proto::{LegacyProto, LegacyProtoOut};
|
||||
use legacy_proto::{LegacyProto, LegacyProtoOut};
|
||||
use crate::utils::interval;
|
||||
use bytes::BytesMut;
|
||||
use futures::prelude::*;
|
||||
@@ -55,7 +55,9 @@ use client_api::{FetchChecker, ChangesProof, StorageProof};
|
||||
use crate::error;
|
||||
use util::LruHashSet;
|
||||
|
||||
mod legacy_proto;
|
||||
mod util;
|
||||
|
||||
pub mod consensus_gossip;
|
||||
pub mod message;
|
||||
pub mod event;
|
||||
|
||||
Reference in New Issue
Block a user