Jelajahi Sumber

Merge pull request #20555 from holiman/cripple_txsize

core: set max tx size down to 2 slots (64KB)
Péter Szilágyi 5 tahun lalu
induk
melakukan
8592a57553
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      core/tx_pool.go

+ 1 - 1
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 (