mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-30 03:35:34 +00:00
config: cswal_light, mempool_broadcast, mempool_reap
This commit is contained in:
@@ -184,6 +184,10 @@ func (mem *Mempool) resCbRecheck(req *tmsp.Request, res *tmsp.Response) {
|
||||
|
||||
// Get the valid transactions remaining
|
||||
func (mem *Mempool) Reap() []types.Tx {
|
||||
if !config.GetBool("mempool_reap") {
|
||||
return []types.Tx{}
|
||||
}
|
||||
|
||||
mem.proxyMtx.Lock()
|
||||
defer mem.proxyMtx.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user