Crate ckb_sync[−][src]
Expand description
The Sync module
Sync module implement ckb sync protocol as specified here: https://github.com/nervosnetwork/rfcs/tree/master/rfcs/0000-block-sync-protocol
Macros
| attempt | Similar to |
Structs
| NetTimeProtocol | Collect time offset samples from network peers and send notify to user if offset is too large |
| Relayer | Relayer protocol handle |
| Status | Process message status |
| SyncShared | Sync state shared between sync and relayer protocol |
| Synchronizer | Sync protocol handle |
Enums
| StatusCode | StatusCodes indicate whether a specific operation has been successfully completed. The StatusCode element is a 3-digit integer. |