New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
block timestamp is before than my transaction create time #24152
Comments
Did this happen once or regularly?
this assumption is wrong - mining starts and transactions can come in in between |
I don't know for sure
but we have to make Am I misunderstanding? |
@junha-ahn we can always switch the mining block in flight, with the exact same timestamp but different tx list. |
The header is created, transactions added (new tx root). |
Ok, Thank you but I'm wondering one thing
Where did I start thinking wrong? |
Your mental model is wrong. You think it's like when searching for a lost glove in the apartment: first you search the living-room, then the hallway, etc, and eventually you'll find it. After a while, there's only the bathroom left -- you're closing in! And in this model, if you switch and suddenly starts looking for a sock instead, then the time spent was wasted, and you start again in the living-room. Consider instead that you're on the coast of australia, searching for a particular sort of sand-grain. There's a near-infinite search space, so it doesn't matter if you jump randomly across the coast or if you investigate one square millimeter at a time - it's not like you're accidentally going to pick the same grain for comparison again anyway. And it's not like you're closing in on the possible locations of this grain of sand. Similarly, if you switch the grain of sand to another one, you don't have to re-examine the particular grains that you have already checked. The search just goes on. |
So Simply Our Send workflow like this:
so (in UTC)
15:00:40
15:01:04
14:59:24
but the
block.timestamp
is14:59:24
what is wrong?eth_getBlockByHash
in my Geth node.I read some articles.
https://ethereum.org/en/whitepaper/#notes
https://geth.ethereum.org/docs/interface/peer-to-peer
#21784
So I think
The network time is correct. and I checked my DB time, that is correct too.
So what is wrong with it?
"The block timestamp is set when the miner starts working on the block"
txRoot
andblockHash
The text was updated successfully, but these errors were encountered: