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

feat: added max txs per block to config.toml #317

Merged
merged 3 commits into from
Sep 27, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: updated confusing comment for max_txs
  • Loading branch information
iproudhon committed Sep 16, 2021
commit 8ecba4f0a786f5694c2d8c3df306801b5f33d45e
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ type ConsensusConfig struct {
CreateEmptyBlocks bool `mapstructure:"create_empty_blocks"`
CreateEmptyBlocksInterval time.Duration `mapstructure:"create_empty_blocks_interval"`

// Max transactions per block. No limit if <= 0.
// Max transactions per block when creating a block. Not a global configuration. No limit if <= 0.
MaxTxs int64 `mapstructure:"max_txs"`

// Reactor sleep duration parameters
Expand Down