mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-04 07:45:50 +00:00
remove app mempool limit
This commit is contained in:
parent
55e01d810d
commit
18d4e1b538
@ -110,7 +110,7 @@ func (ac appCreator) newApp(
|
|||||||
skipLoadLatest = cast.ToBool(appOpts.Get(flagSkipLoadLatest))
|
skipLoadLatest = cast.ToBool(appOpts.Get(flagSkipLoadLatest))
|
||||||
}
|
}
|
||||||
mempoolMaxTxs := cast.ToInt(appOpts.Get(server.FlagMempoolMaxTxs))
|
mempoolMaxTxs := cast.ToInt(appOpts.Get(server.FlagMempoolMaxTxs))
|
||||||
mempool := app.NewPriorityMempool(app.PriorityNonceWithMaxTx(mempoolMaxTxs))
|
mempool := app.NewPriorityMempool()
|
||||||
|
|
||||||
bApp := app.NewBaseApp(logger, db, ac.encodingConfig,
|
bApp := app.NewBaseApp(logger, db, ac.encodingConfig,
|
||||||
baseapp.SetPruning(pruningOpts),
|
baseapp.SetPruning(pruningOpts),
|
||||||
|
Loading…
Reference in New Issue
Block a user