package
1.8.0-rc1
Repository: https://github.com/hermeznetwork/hermez-node.git
Documentation: pkg.go.dev

# Functions

NewUpdater creates a new Updater.

# Constants

RecommendedFeePolicyTypeAvgLastHour set the recommended fee using the average fee of the last hour.
RecommendedFeePolicyTypeDynamicFee set the recommended fee taking in account the gas used in L1, the gasPrice and the ether price in the last batches.
RecommendedFeePolicyTypeStatic always give the same StaticValue as recommended fee.

# Structs

RecommendedFeePolicy describes how the recommended fee is calculated.
Updater is an utility object to facilitate updating the StateAPI.

# Type aliases

RecommendedFeePolicyType describes the different available recommended fee strategies.