We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when I read web3.eth.getBlock(blockNumber) ["timestamp"] from two blocks which were actually (i.e. I measured) produced at 38.8 seconds apart.
web3.eth.getBlock(blockNumber) ["timestamp"]
and then subtract these timestamps, I get a difference of 7945 units.
Why not 39, or 38800 or 38800000 ? i.e. anything that remotely resembles {,milli,micro,nano}seconds.
Have a look:
I had hammered 1000 transactions at testrpc-py, which took 38.8 seconds to finish.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
What was wrong?
when I read
web3.eth.getBlock(blockNumber) ["timestamp"]
from two blocks
which were actually (i.e. I measured) produced at 38.8 seconds apart.
and then subtract these timestamps, I get a difference of 7945 units.
Why not 39, or 38800 or 38800000 ?
i.e. anything that remotely resembles {,milli,micro,nano}seconds.
Have a look:
I had hammered 1000 transactions at testrpc-py, which took 38.8 seconds to finish.
Cute Animal Picture
The text was updated successfully, but these errors were encountered: