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

Update mempool size limit code and test #611

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

drgora
Copy link
Contributor

@drgora drgora commented Sep 26, 2023

This PR fixes minor issues which caused the size limit to be exceeded temporarily under specific circumstances.

In addition, the blockchain snapshot used for tests mempool_size_limit.py and mempool_size_limit_more.py has been moved to backblaze and removed from this repository.

Copy link
Contributor

@JackPiri JackPiri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is fine to me, please just address comment https://github.com/HorizenOfficial/zen/pull/611/files#r1340382257, the others can be ignored if you prefer.
Thanks

Copy link
Contributor

@a-petrini a-petrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for improving this feature! I left a few non-blocking comments and approved the PR

qa/rpc-tests/mempool_size_limit_more.py Outdated Show resolved Hide resolved
qa/rpc-tests/mempool_size_limit.py Show resolved Hide resolved
qa/rpc-tests/mempool_size_limit.py Show resolved Hide resolved
qa/rpc-tests/mempool_size_limit.py Outdated Show resolved Hide resolved
@drgora drgora force-pushed the dr/mempool_size_limit_fixup branch 2 times, most recently from d38a075 to 93b95cd Compare October 3, 2023 15:20
drgora added 2 commits October 3, 2023 19:23
This commit fixes minor issues which caused the size limit to be exceeded temporarily under specific circumstances.
Also mempool_size_limit.py is updated to cover such case.
@ptagl ptagl force-pushed the dr/mempool_size_limit_fixup branch from 93b95cd to d72e1df Compare October 3, 2023 21:48
@ptagl ptagl merged commit e296bf4 into main Oct 3, 2023
@ptagl ptagl deleted the dr/mempool_size_limit_fixup branch October 3, 2023 21:49
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

Successfully merging this pull request may close these issues.

4 participants