Skip to content

Conversation

@jordigoyanes
Copy link

When running this api with nodeos (dawn 3.0), the list of blocks returned by the /v1/blocks endpoint isn't ordered very accurately.
I guess this happens because nodeos produces blocks every 500ms, so it's 2 blocks in the same second.
By ordering the list of latest blocks by their block number, we know it's accurate as printed by nodeos.

When running this api with nodeos (dawn 3.0), the list of blocks returned by the /v1/blocks endpoint isn't ordered very accurately.
I guess this happens because nodeos produces blocks every 500ms, so it's 2 blocks in the same second.
By ordering the list of latest blocks by their block number, we know it's accurate as printed by nodeos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant