Sfoglia il codice sorgente

core: set max tx size down to 2 slots (64KB)

Martin Holst Swende 5 anni fa
parent
commit
b2de0bd87b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 (