Merge pull request #20555 from holiman/cripple_txsize

core: set max tx size down to 2 slots (64KB)
This commit is contained in:
Péter Szilágyi 2020-01-14 13:18:22 +02:00 committed by GitHub
commit 8592a57553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 (