Module tendermint_testgen::light_block[][src]

Structs

LightBlock

We use this data structure as a simplistic representation of LightClient’s LightBlock

TmLightBlock

A light block is the core data structure used by the light client. It records everything the light client needs to know about a block. NOTE: This struct & associated impl below are a copy of light-client’s LightBlock. The copy is necessary here to avoid a circular dependency. Cf. https://github.com/informalsystems/tendermint-rs/issues/605 TODO: fix redundant code without introducing cyclic dependency.

Functions

default_peer_id
generate_signed_header

A helper function to generate SignedHeader used by TmLightBlock