Skip to content

fuzz: Remove no-op SetMempoolConstraints - #25689

Merged
glozow merged 1 commit into
bitcoin:masterfrom
maflcko:2207-fuzz-tx-pool-noop-📕
Jul 26, 2022

Hidden character warning

The head ref may contain hidden characters: "2207-fuzz-tx-pool-noop-\ud83d\udcd5"
Merged

glozow merged 1 commit into
bitcoin:masterfrom
maflcko:2207-fuzz-tx-pool-noop-📕

Conversation

@maflcko

@maflcko maflcko commented Jul 24, 2022

Copy link
Copy Markdown
Member

Now that the mempool no longer uses the args manager (after commit e4e201d), there is no point setting the mempool limits after it is constructed.

Fix that by setting them once right before the mempool is constructed.

@DrahtBot

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #25648 (refactor: Remove all policy globals by MarcoFalke)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@glozow glozow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

utACK fa57c44

@glozow
glozow requested a review from dongcarl July 25, 2022 14:03
@dongcarl

Copy link
Copy Markdown
Contributor

utACK fa57c44

I kinda wish these acted on CTxMemPool::Options rather than ArgsManager, but thanks to the MakeMempool helper I guess it doesn't really matter either way.

@glozow
glozow merged commit 31c1b14 into bitcoin:master Jul 26, 2022
@maflcko
maflcko deleted the 2207-fuzz-tx-pool-noop-📕 branch July 26, 2022 11:19
@bitcoin bitcoin locked and limited conversation to collaborators Aug 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants