Quellcode durchsuchen

Modify tx max size

zfliex924 vor 3 Jahren
Ursprung
Commit
ba89e7ff56
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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