Skip to content

Commit e5bddc0

Browse files
committed
Move limits to correct section
1 parent 4f51f57 commit e5bddc0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

conf/limits.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
package conf
1818

1919
const (
20-
// MaxTxBroadcastTTL defines the TTL limit of a AddTx request broadcasting within the
21-
// block producers.
22-
MaxTxBroadcastTTL = 1
2320
// MaxPendingTxsPerAccount defines the limit of pending transactions of one account.
2421
MaxPendingTxsPerAccount = 1000
2522
// MaxTransactionsPerBlock defines the limit of transactions per block.
@@ -28,5 +25,8 @@ const (
2825

2926
// These limits will not cause inconsistency within certain range.
3027
const (
31-
MaxCachedBlock = 1000
28+
// MaxTxBroadcastTTL defines the TTL limit of a AddTx request broadcasting within the
29+
// block producers.
30+
MaxTxBroadcastTTL = 1
31+
MaxCachedBlock = 1000
3232
)

0 commit comments

Comments
 (0)