Skip to content

Commit

Permalink
Update default txpool slots and per account slots (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Santev authored Nov 8, 2024
1 parent c59b9ea commit cc62de4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions command/server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func DefaultConfig() *Config {
ShouldSeal: true,
TxPool: &TxPool{
PriceLimit: 0,
MaxSlots: 4096,
MaxAccountEnqueued: 128,
MaxSlots: 32768,
MaxAccountEnqueued: 2048,
},
LogLevel: "INFO",
RestoreFile: "",
Expand Down
4 changes: 2 additions & 2 deletions txpool/txpool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
const (
defaultPriceLimit uint64 = 1
defaultBaseFee uint64 = 1
defaultMaxSlots uint64 = 4096
defaultMaxAccountEnqueued uint64 = 128
defaultMaxSlots uint64 = 32768
defaultMaxAccountEnqueued uint64 = 2048
validGasLimit uint64 = 4712350
)

Expand Down

0 comments on commit cc62de4

Please sign in to comment.