Available on crate feature
test-utils
only.Expand description
Common test helpers for mocking out Consensus, Downloaders and Header Clients.
Structsยง
- A headers+bodies client implementation that does nothing.
- A test client for fetching bodies
- 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.
- A test downloader which just returns the values that have been pushed to it.
- A test client for fetching headers