citahub / microscope

Blockchain Explorer for CITA
https://microscope.cryptape.com/
MIT License
17 stars 15 forks source link

integrate with new re-Birth api /api/v2/blocks in block list page for imporve performance #188

Open wuyuyue opened 5 years ago

wuyuyue commented 5 years ago

https://github.com/cryptape/re-birth/blob/develop/API_DOC.md

compare https://rebirth.cryptape.com/api/v2/blocks?block_from=&block_to=&max_transaction_count=&min_transaction_count=100&page=33&perPage=10 with https://rebirth.cryptape.com/api/blocks?numberFrom=&numberTo=&page=33&perPage=10&transactionFrom=100&transactionTo=

wuyuyue commented 5 years ago

new api still response slowly while with search condition, although reduce from 8s to 4s, a big improvement