Merge pull request #20555 from holiman/cripple_txsize

core: set max tx size down to 2 slots (64KB)
pull/20560/head
Péter Szilágyi 5 years ago committed by GitHub
commit 8592a57553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/tx_pool.go

@ -49,7 +49,7 @@ const (
// non-trivial consequences: larger transactions are significantly harder and
// more expensive to propagate; larger transactions also take more resources
// to validate whether they fit into the pool or not.
txMaxSize = 4 * txSlotSize // 128KB, don't bump without chunking support
txMaxSize = 2 * txSlotSize // 64KB, don't bump without EIP-2464 support
)
var (

Loading…
Cancel
Save