Skip to content

ABCI++: application to control how many txs it receives in PrepareProposal #980

Closed

Description

@sergio-mena

Was: tendermint/tendermint#7750

Context

As is currently implemneted in ABCI 2.0, CometBFT sends the application up to ConsensusParams.Block.MaxBytes - CommitBytes - HeaderBytes - EvidenceBytes of txs. It also sends this number so that applications know the maximum amount of transactions they can return (if they want to add txs or modify them). If applications tend to merge or squash a lot of txs, or they need to filter through and either delay or remove txs, having this limit means they will tend to have undersized blocks.

Current Proposal

The current proposal is the "one shot" approach. There will be a new config.toml or consensus param that controls the max number/size of transactions that CometBFT includes in raw proposal blocks it send to the app in PrepProp.
Probably with a special value (-1?) to indicate "send everything".

[See discussion in tendermint/tendermint#7750 for further details]

Activity

  1. added
    abci
    on Jun 15, 2023
  2. added a commit that references this issue on Jun 20, 2023
    c138e78
  3. added a commit that references this issue on Jun 20, 2023
    0f4383d
  4. added a commit that references this issue on Jun 20, 2023
    fda9f51
  5. added
    P:new-use-cases
    on Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P:new-use-casesabci

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions