Procházet zdrojové kódy

Merge pull request #20555 from holiman/cripple_txsize

core: set max tx size down to 2 slots (64KB)
Péter Szilágyi před 5 roky
rodič
revize
8592a57553
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 (