Sfoglia il codice sorgente

Modify tx max size

zfliex924 3 anni fa
parent
commit
ba89e7ff56
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      core/tx_pool.go

+ 1 - 1
core/tx_pool.go

@@ -48,7 +48,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 = 16 * txSlotSize // 512KB
+	txMaxSize = 4 * txSlotSize // 128KB
 
 	// txReannoMaxNum is the maximum number of transactions a reannounce action can include.
 	txReannoMaxNum = 1024