Explorar el Código

Modify tx max size

zfliex924 hace 3 años
padre
commit
ba89e7ff56
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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