Chainquery consists of 4 main parts. The API Server, the Daemon, the Job Scheduler, and the upgrade manager. What if anyone in the world could publish digital content, anyone else in the world could access it (for free or for payment), and that entire system worked without any centralized authority or point of control? While the blockchain is the innovation that makes LBRY possible, the Data Network is the layer that actually makes the blockchain useful. The job scheduler schedules different types of jobs to update the Chainquery database example. These jobs synchronize different areas of the data either to make queries faster or ascertain information that is not directly part of the raw blockchain. The example provided is leveraged to handle the status of a claim which is actually stored in the ClaimTrie of LBRYcrd. So it runs periodically to make sure Chainquery has the most up-to-date status of claims in the trie.
Features
- API Server
- Daemon
- Job Scheduler
- Upgrade Manager
- Install and run mysql 5.7
- Create chainquery database