CodeChain-io / CodeChain-io/foundry
Request transactions, which were rejected by the mempool limit, again when the mempool has enough space
- Dominant language
- Rust
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
The current implementation of `body_downloader` imports a transaction only once, and the transaction can be rejected while importing to the mempool because of the mempool limit (memory limit or size limit). After being rejected, `body_downloader` will never request them again.
Contributor guide
Research direction
Start by reading the body_downloader implementation and tracing how transactions are imported into the mempool. Reproduce or inspect the path where the mempool-limit rejection occurs, then determine how available space is detected. Done means rejected transactions are requested again after the mempool has enough memory or size capacity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100