diff --git a/eth/gasprice/feehistory.go b/eth/gasprice/feehistory.go index d039bcb401..540ca47226 100644 --- a/eth/gasprice/feehistory.go +++ b/eth/gasprice/feehistory.go @@ -44,7 +44,9 @@ const ( // maxBlockFetchers is the max number of goroutines to spin up to pull blocks // for the fee history calculation (mostly relevant for LES). 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