Skip to content

Allow Xpoa-block-txs-selection-max-time to be greater than 100%#6407

Closed
fab-10 wants to merge 3 commits intohyperledger:mainfrom
fab-10:Xpoa-block-txs-selection-max-time-greater-than-100
Closed

Allow Xpoa-block-txs-selection-max-time to be greater than 100%#6407
fab-10 wants to merge 3 commits intohyperledger:mainfrom
fab-10:Xpoa-block-txs-selection-max-time-greater-than-100

Conversation

@fab-10
Copy link
Contributor

@fab-10 fab-10 commented Jan 15, 2024

PR description

In #6044 Xpoa-block-txs-selection-max-time options has been introduced to limit the block creation time to a fraction of the genesis block time, but there are cases where it is useful to let the block creation time last more, so with this PR is it possible to specify value greater than 100%

Fixed Issue(s)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
@github-actions
Copy link

github-actions bot commented Jan 15, 2024

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
@fab-10 fab-10 marked this pull request as ready for review January 15, 2024 14:34
Copy link
Contributor

@pinges pinges left a comment

Choose a reason for hiding this comment

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

Could you explain why it would make sense to do that please.
Otherwise, I think that the changes do achieve what you want to do.

@fab-10
Copy link
Contributor Author

fab-10 commented Jan 16, 2024

@pinges because there could be existing networks that are used to have txs that take more than the genesis block time to process, and/or do not care too much about a fixed block time, but more about a target block time, allowing outliers.

@fab-10
Copy link
Contributor Author

fab-10 commented Jan 17, 2024

Close in favor of #6423

@fab-10 fab-10 closed this Jan 17, 2024
@fab-10 fab-10 deleted the Xpoa-block-txs-selection-max-time-greater-than-100 branch February 16, 2024 15:48
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.

2 participants