mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: retry empty responses (#13923)
This commit is contained in:
@ -94,6 +94,8 @@ pub trait HeadersClient: DownloadClient {
|
||||
}
|
||||
|
||||
/// A Future that resolves to a single block body.
|
||||
///
|
||||
/// Returns `None` if the peer responded with an empty header response.
|
||||
#[derive(Debug)]
|
||||
#[must_use = "futures do nothing unless polled"]
|
||||
pub struct SingleHeaderRequest<Fut> {
|
||||
|
||||
Reference in New Issue
Block a user