Calling /api/txs/last enpoint on adalite-backend-service using the new importer (tangata-manu, more precisely adalite-importer, its fork), it takes long as there is no index on the "time" column in the txs tables created by yoroi-importer's migrations. We could either:
a) submit a PR to tangata-manu, add that index to the table and sync adalite-importer
b) just drop this endpoint since it isn't really used, only for debugging, but arguably, the /bestBlock endpoint can be used as well to see how the node is syncing
I propose solution b) as it is simpler and I think that the /api/txs/last endpoint does not provide significant added value vs the /bestBlock endpoint.
Calling /api/txs/last enpoint on adalite-backend-service using the new importer (tangata-manu, more precisely adalite-importer, its fork), it takes long as there is no index on the "time" column in the
txs
tables created by yoroi-importer's migrations. We could either:a) submit a PR to tangata-manu, add that index to the table and sync adalite-importer b) just drop this endpoint since it isn't really used, only for debugging, but arguably, the /bestBlock endpoint can be used as well to see how the node is syncing
I propose solution b) as it is simpler and I think that the /api/txs/last endpoint does not provide significant added value vs the /bestBlock endpoint.