-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable mempool recheck and remove mempool TTL
Instead of the mempool TTL, enable recheck but only execute the transactions every 12 blocks. This is safer, since a valid mempool transaction won't be removed by TTL. And doing recheck every 12 blocks, probably not much more costly than keeping track of all mempool transactions and runing a garbage collector process. Signed-off-by: p4u <pau@dabax.net>
- Loading branch information
Showing
2 changed files
with
10 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters