Expand description
Trait definition for HeadersClient
Structs§
- Block
Headers - The response to [
GetBlockHeaders
], containing headers if any headers were found. - Headers
Request - The header request struct to be sent to connected peers, which will proceed to ask them to stream the requested headers to us.
- Single
Header Request - A Future that resolves to a single block body.
Enums§
- Headers
Direction - Represents the direction for a headers request depending on the
reverse
field of the request.
Traits§
- Headers
Client - The block headers downloader client
Type Aliases§
- Headers
Fut - The headers future type