devp2p snappy compression (#6683)
This commit is contained in:
committed by
Gav Wood
parent
fdbf6bf7d6
commit
b4c4fddb10
@@ -81,6 +81,7 @@ extern crate ethcore_logger;
|
||||
extern crate ipnetwork;
|
||||
extern crate hash;
|
||||
extern crate serde_json;
|
||||
extern crate snappy;
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
@@ -115,7 +116,7 @@ pub use node_table::{is_valid_node_url, NodeId};
|
||||
use ipnetwork::{IpNetwork, IpNetworkError};
|
||||
use std::str::FromStr;
|
||||
|
||||
const PROTOCOL_VERSION: u32 = 4;
|
||||
const PROTOCOL_VERSION: u32 = 5;
|
||||
|
||||
/// Network IO protocol handler. This needs to be implemented for each new subprotocol.
|
||||
/// All the handler function are called from within IO event loop.
|
||||
|
||||
Reference in New Issue
Block a user