Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and use global allowlist for pruning mempools #6

Open
murchandamus opened this issue Sep 7, 2022 · 0 comments
Open

Create and use global allowlist for pruning mempools #6

murchandamus opened this issue Sep 7, 2022 · 0 comments

Comments

@murchandamus
Copy link
Owner

We only use transactions that were eventually included in the blockchain as it is otherwise hard to impossible to get all relevant meta data. Currently, mempools are pruned per the allowlist created from the transactions that occurred in the same month. If we instead used an allowlist created from all months this would give our blockbuilders a bigger set of transactions to work with, especially towards the end of a month when the mempool is not empty.

A simple approach would be to also include the transactions from blocks until the next time the mempool fully cleared after the end of the month. A more comprehensive approach would be to train a cuckoo filter on all transactions confirmed starting with the first month we consider and use that as a replacement of an allowlist explicitly encompassing all transactions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant