mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
core/txpool: use protocol-defined max blobs limit
This commit is contained in:
parent
215f402231
commit
93be9e409e
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ const (
|
||||||
// carry. We choose a smaller limit than the protocol-permitted MaxBlobsPerBlock
|
// carry. We choose a smaller limit than the protocol-permitted MaxBlobsPerBlock
|
||||||
// in order to ensure network and txpool stability.
|
// in order to ensure network and txpool stability.
|
||||||
// Note: if you increase this, validation will fail on txMaxSize.
|
// Note: if you increase this, validation will fail on txMaxSize.
|
||||||
maxBlobsPerTx = 7
|
maxBlobsPerTx = params.BlobTxMaxBlobs
|
||||||
|
|
||||||
// maxTxsPerAccount is the maximum number of blob transactions admitted from
|
// maxTxsPerAccount is the maximum number of blob transactions admitted from
|
||||||
// a single account. The limit is enforced to minimize the DoS potential of
|
// a single account. The limit is enforced to minimize the DoS potential of
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue