Expand description
§Block Weights
This module contains calculations for block weights, including calculating block weight limits, effective medians and long term block weights.
For more information please see the block weights chapter in the Monero Book.
Structs§
- Block
Weights Cache - A cache used to calculate block weight limits, the effective median and long term block weights.
- Block
Weights Cache Config - Configuration for the block weight cache.
Constants§
- LONG_
TERM_ WINDOW - The long term block weight window.
- SHORT_
TERM_ WINDOW - The short term block weight window.
Functions§
- calculate_
block_ long_ term_ weight - Calculates a blocks long term weight.