Crate vapcore_sync[−][src]
Blockchain sync module Implements vapory protocol version 63 as specified here: https://github.com/vaporyco/wiki/wiki/Vapory-Wire-Protocol
Modules
| light_sync | Light client synchronization. |
Structs
| LightSync | Service for light synchronization. |
| LightSyncParams | Configuration for the light sync. |
| NetworkConfiguration | Network service configuration |
| NoopPrivateTxHandler | Nonoperative private transaction handler. |
| Params | VapSync initialization parameters. |
| PeerInfo | Peer connection information |
| PeerNumbers | Numbers of peers (max, min, active). |
| PipProtocolInfo | PIP protocol info. |
| ServiceConfiguration | Configuration for IPC service. |
| SimplePrivateTxHandler | Simple private transaction handler. Used for tests. |
| SyncConfig | Sync configuration |
| SyncStatus | Syncing status and statistics |
| TransactionStats | Transaction stats |
| VapProtocolInfo | Vapory protocol info. |
| VapSync | Vapory network protocol handler |
Enums
| ConnectionDirection | Filtered connection direction. |
| Error | Queue error |
| NonReservedPeerMode | Non-reserved peer modes. |
| PriorityTask | 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. |
| SyncState | Sync state |
| WarpSync | Determine warp sync status. |
Constants
| LIGHT_PROTOCOL | Vapory light protocol |
| VAP_PROTOCOL | Vapory sync protocol |
| WARP_SYNC_PROTOCOL_ID | Parity sync protocol |
Traits
| ConnectionFilter | Connection filter. Each connection is checked against |
| LightNetworkDispatcher | Execute a closure with a protocol context. |
| LightSyncInfo | Wrapper around |
| LightSyncProvider | Light synchronization. |
| ManageNetwork | Trait for managing network |
| PrivateTxHandler | Trait which should be implemented by a private transaction handler. |
| SyncProvider | Current sync status |
Functions
| validate_node_url | Check if node url is valid |
Type Definitions
| Notification | receiving end of a futures::mpsc channel |