Use Chainquery #28

Closed
opened 2018-07-20 15:07:35 +02:00 by kauffj · 6 comments
kauffj commented 2018-07-20 15:07:35 +02:00 (Migrated from github.com)

chainquery ought to make the explorer easier to work with/use and simpler to maintain (if doesn't do that, that is also useful feedback for chainquery).

[chainquery](https://github.com/lbryio/chainquery) ought to make the explorer easier to work with/use and simpler to maintain (if _doesn't_ do that, that is also useful feedback for chainquery).
marcdeb1 commented 2018-12-15 18:14:27 +01:00 (Migrated from github.com)

I am ready to take up the task, it could make the explorer much simpler and solve issues such as #8 or #31 that seem to be due to the block syncing process. As @tiger5226 suggested, there could be a direct DB connection to Chainquery.

I am ready to take up the task, it could make the explorer much simpler and solve issues such as #8 or #31 that seem to be due to the block syncing process. As @tiger5226 suggested, there could be a direct DB connection to Chainquery.
tiger5226 commented 2018-12-16 05:45:56 +01:00 (Migrated from github.com)

I can setup the credentials for you. Ultimately, the block explorer is a great candidate to integrate with Chainquery. It was actually what I started from for Chainquery. So it should be a very close match on the schema. I would not expect many differences.

I can setup the credentials for you. Ultimately, the block explorer is a great candidate to integrate with Chainquery. It was actually what I started from for Chainquery. So it should be a very close match on the schema. I would not expect many differences.
tiger5226 commented 2018-12-16 05:52:40 +01:00 (Migrated from github.com)

@marcdeb1 Testing credentials for Chainquery have been sent over. When we are ready to deploy we can setup a production account for the explorer.

@marcdeb1 Testing credentials for Chainquery have been sent over. When we are ready to deploy we can setup a production account for the explorer.
marcdeb1 commented 2018-12-18 14:24:18 +01:00 (Migrated from github.com)

The block explorer API is using different fields from Chainquery:
image
I would suggest to standardize the attributes and put the same as Chainquery (InputCount -> input_count), but since some people might use the API it could be a problem. What do you think ? Stay like before or change ?

The block explorer API is using different fields from Chainquery: ![image](https://user-images.githubusercontent.com/29503179/50156941-60ae4e80-02d0-11e9-9202-58531151a431.png) I would suggest to standardize the attributes and put the same as Chainquery (InputCount -> input_count), but since some people might use the API it could be a problem. What do you think ? Stay like before or change ?
tiger5226 commented 2018-12-18 15:57:50 +01:00 (Migrated from github.com)

It would be nice if we aligned across the organization. Chainquery schema in the standard now, so we should probably align on that. I think currently let's not break an api's but we should create an issue to address this with a long term solution that could include api versioning. Ultimately, block information should just come from chainquery api's. So we will probably want to deprecate the apis from the block explorer altogether. Block explorer should just be a pretty ui for chainquery data.

It would be nice if we aligned across the organization. Chainquery schema in the standard now, so we should probably align on that. I think currently let's not break an api's but we should create an issue to address this with a long term solution that could include api versioning. Ultimately, block information should just come from chainquery api's. So we will probably want to deprecate the apis from the block explorer altogether. Block explorer should just be a pretty ui for chainquery data.
tiger5226 commented 2019-03-19 03:21:40 +01:00 (Migrated from github.com)

Solved with Chainquery integration

Solved with Chainquery integration
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/block-explorer#28
No description provided.