eth_syncing, fixed #397

This commit is contained in:
debris
2016-02-10 16:28:59 +01:00
parent 5347d4fe43
commit 9159d5812b
5 changed files with 69 additions and 15 deletions

View File

@@ -76,7 +76,7 @@ pub struct EthSync {
sync: RwLock<ChainSync>
}
pub use self::chain::SyncStatus;
pub use self::chain::{SyncStatus, SyncState};
impl EthSync {
/// Creates and register protocol with the network service
@@ -132,4 +132,4 @@ impl NetworkProtocolHandler<SyncMessage> for EthSync {
self.sync.write().unwrap().chain_blocks_verified(&mut NetSyncIo::new(io, self.chain.deref()));
}
}
}
}