Module phron_finality::data_io::legacy::data_provider
source · Structs§
- ChainTracker keeps track of the best_block in a given session and allows to generate
PhronData
. Internally it frequently updates adata_to_propose
field that is shared with aDataProvider
, which in turn is a tiny wrapper around this single shared resource that takes outdata_to_propose
wheneverget_data
is called. - Provides data to PhronBFT for ordering.