Refine BuildNextBlock transaction selection logic
Open
bug
help wanted
- Dominant language
- C++
- Stars
- 22
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Currently, BuildNextBlock just adds every transaction to the block, which will be problematic when it's passed any conflicting transactions. We need to instead apply transactions based on feerate, weight, and pegin fees.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the BuildNextBlock implementation and inspect how it currently adds transactions to a block. Trace the transaction and block-validation tests or entry points that cover conflicting transactions, feerate, weight, and pegin fees. Done means conflicting transactions are selected according to those criteria rather than all being added indiscriminately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100