CityOfZion / neo-scan

Blockchain explorer for NEO
https://neoscan.io
MIT License
70 stars 65 forks source link

Feature/time in ms option #426

Closed uvmetal closed 5 years ago

uvmetal commented 5 years ago

This PR adds rendering to Neoscan to support future subsecond block time. It also includes AM/PM indication, and unix time in ms as shown in the screenshot below.

This change does not affect the relative formatting.

image

I did this as an exercise to learn more about the system. I understand if you aren't concerned with this now. From what I understand only custom versions of neo-cli would be able to produce chains that would be able to track this as Neo 2 is only using Unix time in seconds.

This addresses:

https://github.com/CityOfZion/neo-scan/issues/397

I'm open to suggestions and discussion around formatting as what I've performed here is just an example. Feedback appreciated. Thanks!

vncoelho commented 5 years ago

Nice implementation, my friend, this would close #397, right?

Incredible! If this gets merged we can already see that on NEO 3.0 preview1!

@adrienmo, can you give a look for trying to merge this asap? Preview1 will soon be released and it will have ms blocks capabilities for privatenets.

hal0x2328 commented 5 years ago

100 points uvmetal

lllwvlvwlll commented 4 years ago

https://neoscan.io/transaction/44C84C9E7582DC00411BC9D9D075F6993BA7E203FFDDE366E21DFEBD125EA580