Skip to main content

Module lite_client

Module lite_client 

Source
Expand description

A storage-free client used as a benchmark load generator. A storage-free client that proposes blocks directly to validators.

Unlike ChainClient this keeps no local storage and executes nothing: it tracks just enough chain state to keep proposing valid blocks. That makes it cheap enough that a load generator stops being part of what a benchmark measures, at the cost of three round trips per block instead of two.

Structsยง

LiteBenchmarkClient
Adapts LiteChainClient to the shared benchmark harness.
LiteChainClient
Tracks just enough state about one chain to keep proposing valid blocks, without any local storage or execution.