Adds basic inbound/outbound upgrades for eth2 rpc

This commit is contained in:
Age Manning
2019-07-05 18:59:53 +10:00
parent 746935fa41
commit cda61c1577
3 changed files with 403 additions and 261 deletions

View File

@@ -19,7 +19,7 @@ use slog::o;
use std::marker::PhantomData;
use tokio::io::{AsyncRead, AsyncWrite};
/// This struct implements the libp2p `NetworkBehaviour` trait and therefore manages network-level
/// Rpc implements the libp2p `NetworkBehaviour` trait and therefore manages network-level
/// logic.
pub struct Rpc<TSubstream> {
/// Queue of events to processed.