Module client

Available on crate feature network only.
Expand description

Trait definition for HeadersClient

Structs§

BlockHeaders
The response to GetBlockHeaders, containing headers if any headers were found.
HeadersRequest
The header request struct to be sent to connected peers, which will proceed to ask them to stream the requested headers to us.
SingleHeaderRequest
A Future that resolves to a single block body.

Enums§

HeadersDirection
Represents the direction for a headers request depending on the reverse field of the request.

Traits§

HeadersClient
The block headers downloader client

Type Aliases§

HeadersFut
The headers future type