Skip to content

Conversation

@nfrisby
Copy link
Contributor

@nfrisby nfrisby commented Jul 10, 2024

It's undesirable for a node to make blocks that aren't full. Moreover, this parameter was only ever set to "no override" in our codebase and in the cardano-node repo. So it seems good and harmless to remove this.

Note well that the capacity limit on the mempool is a separate parameter from the one removed by this PR.

@nfrisby nfrisby changed the title consensus: remove capacity override from the forging functions Remove capacity override from the forging functions Jul 10, 2024
@nfrisby nfrisby mentioned this pull request Jul 10, 2024
@nfrisby nfrisby force-pushed the nfrisby/remove-cap-override-forge branch 2 times, most recently from 155bd42 to f2a8354 Compare July 10, 2024 15:34
Copy link
Member

@amesgen amesgen left a comment

Choose a reason for hiding this comment

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

LGTM after changelog fragments etc.

This functionality seems to have been introduced based on IntersectMBO/ouroboros-network#3225 (implemented in IntersectMBO/ouroboros-network#3238), but I think it was never used in cardano-node (in contrast to the mempool size override, see IntersectMBO/cardano-node#3273 and IntersectMBO/cardano-node#3343, which will have to change in light of #1175 as one can only tweak the "multiplicity"/"block count" then).

It's undesirable for a node to make blocks that aren't full.
@nfrisby nfrisby force-pushed the nfrisby/remove-cap-override-forge branch from f2a8354 to aa652d6 Compare July 10, 2024 17:47
@nfrisby nfrisby enabled auto-merge July 10, 2024 17:50
@nfrisby nfrisby added this pull request to the merge queue Jul 10, 2024
Merged via the queue into main with commit d86a8fc Jul 10, 2024
@nfrisby nfrisby deleted the nfrisby/remove-cap-override-forge branch July 10, 2024 20:28
nfrisby added a commit that referenced this pull request Aug 28, 2024
BoundedMeasure is no longer necessary, as of PR
#1182.
nfrisby added a commit that referenced this pull request Sep 3, 2024
BoundedMeasure is no longer necessary, as of PR
#1182.
nfrisby added a commit that referenced this pull request Sep 3, 2024
BoundedMeasure is no longer necessary, as of PR
#1182.
nfrisby added a commit that referenced this pull request Sep 4, 2024
BoundedMeasure is no longer necessary, as of PR
#1182.
nfrisby added a commit that referenced this pull request Sep 4, 2024
BoundedMeasure is no longer necessary, as of PR
#1182.
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.

3 participants