Expand description
§Block Downloader
This module contains the block downloader, which finds a chain to
download from our connected peers and downloads it. See the actual
struct
documentation for implementation details.
The block downloader is started by download_blocks
.
Structs§
- Block
Batch - A downloaded batch of blocks.
- Block
Downloader Config - The block downloader config.
Enums§
- Chain
SvcRequest - The request type for the chain service.
- Chain
SvcResponse - The response type for the chain service.
Functions§
- download_
blocks - This function starts the block downloader and returns a
BufferStream
that will produce a sequential stream of blocks.