stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3k stars 658 forks source link

Feat: Garbage collect mempool in nakamoto using accept time #4884

Closed kantai closed 1 week ago

kantai commented 2 weeks ago

This addresses #4346 by changing the mempool GC behavior in nakamoto from using the block height to using the age of the transaction (measured in time since accept_time).

The sets the age limit to be the same as prior limit when translated with 10 minute block times (as was expected prior to 3.0).