eth/gasprice: add comment to constant

This commit is contained in:
yosuzzy 2024-05-31 00:02:08 +09:00
parent 2262bf3415
commit 2a55ae273e

View file

@ -44,7 +44,9 @@ const (
// maxBlockFetchers is the max number of goroutines to spin up to pull blocks // maxBlockFetchers is the max number of goroutines to spin up to pull blocks
// for the fee history calculation (mostly relevant for LES). // for the fee history calculation (mostly relevant for LES).
maxBlockFetchers = 4 maxBlockFetchers = 4
maxQueryLimit = 100 // maxQueryLimit is the max number of requested percentiles
// for defending DDoS attacks.
maxQueryLimit = 100
) )
// blockFees represents a single block for processing // blockFees represents a single block for processing