mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-14 02:45:50 +00:00
Remove dependency on the parity repo (#734)
This commit is contained in:
committed by
Gav Wood
parent
88ef57e4bd
commit
0ed48c89ab
@@ -20,10 +20,9 @@ use std::iter;
|
||||
use std::net::Ipv4Addr;
|
||||
use std::str;
|
||||
use std::time::Duration;
|
||||
use io::TimerToken;
|
||||
use TimerToken;
|
||||
use libp2p::{multiaddr::AddrComponent, Multiaddr};
|
||||
use error::Error;
|
||||
use ethkey::Secret;
|
||||
use ethereum_types::H512;
|
||||
|
||||
/// Protocol handler level packet id
|
||||
@@ -37,6 +36,9 @@ pub type NodeId = H512;
|
||||
/// Local (temporary) peer session ID.
|
||||
pub type NodeIndex = usize;
|
||||
|
||||
/// secio secret key;
|
||||
pub type Secret = [u8; 32];
|
||||
|
||||
/// Shared session information
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct SessionInfo {
|
||||
|
||||
Reference in New Issue
Block a user