-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
LenghtFeeAdjustment requires 4 parameters to update targeted_length_fee_adjustment at the end of each block. The value is used in the following formula:
inclusion_fee = base_fee + [targeted_length_fee_adjustment * length_fee] + [targeted_weight_fee_adjustment * weight_fee];
It requires 4 parameters:
- Target
- AdjustmentVariable
- MinimumMultiplier
- MaximumMultiplier
The current values for targeted_weight_fee_adjustment are:
- TargetBlockFullness = 25%
- AdjustmentVariableBlockFullness = 75/1_000_000
- MinimumMultiplierBlockFullness = 1/10
- MaximumMultiplierBlockFullness = FixedU128::max_value()
These values are defined here to define SlowAdjustingFeeUpdate.
For targeted_length_fee_adjustment, the values are:
- TargetBlockSize = 16%
- If the total block size is 5MiB, then the target block size is 0.8MiB.
- AdjustmentVariableBlockSize = 1/840
- This value means that the maximum fee variation in one hour is 30%, following the formula
v = p / k * (1 - s*), where p represents the maximum fee variation percentage, k represents the period in which the variation is defined (in blocks), and s* represents the target percentage.
- This value means that the maximum fee variation in one hour is 30%, following the formula
- MinimumMultiplierBlockSize = TODO
- MaximumMultiplierBlockSize = FixedU128::max_value()
Metadata
Metadata
Assignees
Labels
No labels