CodeChain-io / CodeChain-io/foundry
Need another method to get pending transactions
- Dominant language
- Rust
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
It seems current `ready_transactions` cannot return all pending transactions. We need another method to get the maximum size and return all pending transactions.
- `mempool_getPendingTransactions` RPC is not returning whole pending transactions
- `mempool_getPendingTransactions` RPC is using `ready_transactions` method that is used to create a block.
- `ready_transactions` returns transactions that can be included in a block
Contributor guide
Research direction
Start at the mempool_getPendingTransactions RPC and the ready_transactions method mentioned in the issue. Determine how the current block-ready subset is selected and how the maximum size is handled. Done means the RPC can return all pending transactions within the requested maximum rather than only transactions ready for block inclusion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100