Expand description
The Sync module
Sync module implement ckb sync protocol as specified here: https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0004-ckb-block-sync/0004-ckb-block-sync.md
Macros
Similar to ?
, attempt!
is used for propagating Status
.
Structs
Collect time offset samples from network peers and send notify to user if offset is too large
Relayer protocol handle
Process message status
Sync state shared between sync and relayer protocol
Sync protocol handle
Enums
StatusCodes indicate whether a specific operation has been successfully completed. The StatusCode element is a 3-digit integer.