Moves code walkthrough book chapters to docs (#629)

* replaced template blocks with code blocks in stages chapter

* replaced template blocks with code blocks in network chapter

* moved book sections to docs

* fix indentation in recover_signer codeblock

* remove unnecessary TODO comment in network.md
This commit is contained in:
Andrew Kirillov
2022-12-28 01:24:39 -08:00
committed by GitHub
parent a51fa4fd63
commit d4d8a8c882
29 changed files with 1178 additions and 458 deletions

View File

@@ -12,7 +12,6 @@ use reth_primitives::{SealedHeader, H256};
///
/// A downloader represents a distinct strategy for submitting requests to download block headers,
/// while a [HeadersClient] represents a client capable of fulfilling these requests.
// ANCHOR: trait-HeaderDownloader
#[auto_impl::auto_impl(&, Arc, Box)]
pub trait HeaderDownloader: Downloader {
/// Stream the headers
@@ -24,7 +23,6 @@ pub trait HeaderDownloader: Downloader {
Ok(())
}
}
// ANCHOR_END: trait-HeaderDownloader
/// Validate whether the header is valid in relation to it's parent
///