bitpay / insight

A bitcoin blockchain explorer and API
https://insight.bitpay.com/
MIT License
1.19k stars 1.11k forks source link

blocks skipped in "Latest Blocks" display #714

Open gabegattis opened 8 years ago

gabegattis commented 8 years ago

I just noticed this on test.bitpay.com. testblocks

gabegattis commented 8 years ago

It also shows age as "a few seconds ago" for blocks that were mined earlier than that.

braydonf commented 8 years ago

It's because the query is based on date and not block height, and since dates can be out of order, a block can exist on the previous/next day, or in the future, and not appear. It's more apparent on testnet.