drop mempool_reap. use block_size=-1 instead

This commit is contained in:
Ethan Buchman
2016-03-05 16:41:54 -05:00
parent 085b3bc1f2
commit 94f3d201e1
4 changed files with 7 additions and 8 deletions
-4
View File
@@ -184,10 +184,6 @@ 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()