Explorar o código

Modify tx max size

zfliex924 %!s(int64=3) %!d(string=hai) anos
pai
achega
ba89e7ff56
Modificáronse 1 ficheiros con 1 adicións e 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