mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-24 19:23:22 +00:00
20 lines
388 B
Rust
20 lines
388 B
Rust
|
|
#[derive(Debug)]
|
||
|
|
pub enum MessageKind {}
|
||
|
|
|
||
|
|
pub type PeerId = u64;
|
||
|
|
pub type PeerDistance = u32;
|
||
|
|
|
||
|
|
#[derive(Debug)]
|
||
|
|
pub struct PeerAddr {
|
||
|
|
pub id: PeerId,
|
||
|
|
//Probably will be socket address in the future
|
||
|
|
pub addr: String,
|
||
|
|
}
|
||
|
|
|
||
|
|
#[derive(Debug)]
|
||
|
|
///Structure, which contains all necessary fields for handshake
|
||
|
|
pub struct Handshake {}
|
||
|
|
|
||
|
|
#[derive(Debug)]
|
||
|
|
pub enum HandshakeFailedReason {}
|