Refactored loop connection detection and processing.

This commit is contained in:
Revertron
2021-04-23 15:05:01 +02:00
parent 520f485899
commit 349540b9f2
4 changed files with 53 additions and 14 deletions
+2
View File
@@ -11,6 +11,8 @@ pub enum Message {
Shake { origin: String, version: u32, ok: bool, height: u64 },
Ping { height: u64, hash: Bytes },
Pong { height: u64, hash: Bytes },
Twin,
Loop,
GetPeers,
Peers { peers: Vec<String> },
GetBlock { index: u64 },