Merge pull request #179 from zed-industries/rpc-protocol-version

Forbid connections from outdated clients
This commit is contained in:
Antonio Scandurra
2021-09-23 18:26:12 +02:00
committed by GitHub
9 changed files with 159 additions and 90 deletions
+2
View File
@@ -4,3 +4,5 @@ mod peer;
pub mod proto;
pub use conn::Connection;
pub use peer::*;
pub const PROTOCOL_VERSION: u32 = 0;