Crate ethcore_sync
source · [−]Expand description
Blockchain sync module Implements ethereum protocol version 63 as specified here: https://github.com/ethereum/wiki/wiki/Ethereum-Wire-Protocol
Structs
The Error type.
Ethereum protocol info.
Ethereum network protocol handler
Network service configuration
EthSync initialization parameters.
Peer connection information
Numbers of peers (max, min, active).
Configuration for IPC service.
Sync configuration
Syncing status and statistics
Transaction stats
Enums
Filtered connection direction.
The kind of an error.
Non-reserved peer modes.
A prioritized tasks run in a specialised timer. Every task should be completed within a hard deadline, if it’s not it’s either cancelled or split into multiple tasks. NOTE These tasks might not complete at all, so anything that happens here should work even if the task is cancelled.
Sync state
Determine warp sync status.
Constants
Ethereum sync protocol
OpenEthereum sync protocol
Traits
Connection filter. Each connection is checked against connection_allowed
.
Trait for managing network
Current sync status
Functions
Check if node url is valid