-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mempool): allow caller to cap num txs for block
Add an argument to `get_transactions_for_block` such that the caller can cap the number of transactions to include in a block. Since the miner must merge proofs, they probably want to cap this number. For now, the miner task does not actually use this feature. But it should probably be definable through a CLI parameter.
- Loading branch information
1 parent
200453d
commit 7fadf5c
Showing
2 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters