Module consensus_throughput_calculator

Source

Structs§

ConsensusThroughputCalculator
ConsensusThroughputCalculator is calculating the transaction throughput as this is coming out from consensus. The throughput is calculated using a sliding window approach and leveraging the timestamps provided by consensus.
ConsensusThroughputProfiler
The ConsensusThroughputProfiler is responsible for assigning the right throughput profile by polling the measured consensus throughput. It is important to rely on the ConsensusThroughputCalculator to measure throughput as we need to make sure that validators will see an as possible consistent view to assign the right profile.
ThroughputProfile
ThroughputProfileEntry
ThroughputProfileRanges

Enums§

Level

Type Aliases§

TimestampSecs