Available on crate feature
test-utils
only.Expand description
Common test helpers for mocking out Consensus, Downloaders and Header Clients.
Structs§
- Noop
Full Block Client - A headers+bodies client implementation that does nothing.
- Test
Bodies Client - A test client for fetching bodies
- Test
Full Block Client - A headers+bodies client that stores the headers and bodies in memory, with an artificial soft bodies response limit that is set to 20 by default.
- Test
Header Downloader - A test downloader which just returns the values that have been pushed to it.
- Test
Headers Client - A test client for fetching headers