mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
chore(consensus): update maxTrackedPayloads to maxBlocksPerBatch (#389)
* increase payload capacity * feat: change to `maxBlocksPerBatch` --------- Co-authored-by: David <david@taiko.xyz>
This commit is contained in:
parent
364acd00d1
commit
516eff7ae9
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ import (
|
|||
// maxTrackedPayloads is the maximum number of prepared payloads the execution
|
||||
// engine tracks before evicting old ones. Ideally we should only ever track the
|
||||
// latest one; but have a slight wiggle room for non-ideal conditions.
|
||||
const maxTrackedPayloads = 10
|
||||
const maxTrackedPayloads = 768 // CHANGE(taiko): change to use `maxBlocksPerBatch`
|
||||
|
||||
// maxTrackedHeaders is the maximum number of executed payloads the execution
|
||||
// engine tracks before evicting old ones. These are tracked outside the chain
|
||||
|
|
|
|||
Loading…
Reference in a new issue