Comments (2)
Related comments from an old issue:
Currently we treat the "pending" argument the same as the "latest" argument, which is to say our pending state is our latest state with no alterations. We should investigate what it would take to alter this.
If we are mining, then the pending state would be our candidate block we are mining or preparing for signing. This may not always be available in the cases were the consensus algorithm has a round-robin type setup where we only mine on turn. But those also tend to have fallbacks for when a producer fails to produce a block, and we need to keep our state handy.
If we are not mining then we should consider creating a temporary state including as many of the transactions in the pending pool as are reasonable. This could be tricky because the pool could contain contradictory or mutually exclusive transactions, such as duplicate nonce or TXes that drain a common resource. And how much CPU time should be spent producing these transactions.
Finally we need to plumb this data into the JsonRpc classes, likely through BlockChainQueries.
from besu.
I don't think this is relevant given that Besu is unlikely to add pending block support. If that's not the case, feel free to copy/paste this into a new issue. cc: @sajz
from besu.
Related Issues (20)
- Kurtosis
- Flaky test - NodeSmartContractPermissioningV2AcceptanceTest
- EIP-7002: Implement Validator Exit Contract system call
- Flaky test permissionedNodeShouldConnectToNewlyPermittedNode
- Bonsai Look-back error during RPC should provide better UX
- GHA: buildDocker (self-hosted, ARM64) step failing HOT 1
- Flaky test - PkiQbftAcceptanceTest HOT 1
- Flaky test - NodeSmartContractPermissioningIbft2StallAcceptanceTest
- PeerDenylistManager index OOB exception
- Analyse Inbound Disconnect Reasons Per Client HOT 12
- Support OP and L2 roll-up sync using Besu client HOT 2
- Besu FCU timeout HOT 1
- Fix AT Cluster Restart Behaviour
- The issue of being unable to synchronize when starting Besu via Docker Compose. HOT 2
- Implement continuous profiling
- EIP-3074: Implement AUTH and AUTHCALL
- Release 24.4.0
- Improve DefaultBlockchain metrics
- Flaky test - Clique Mining HOT 1
- BWS halt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from besu.