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.