Skip to content

Commit

Permalink
GitBook: [#12] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimo Luraschi authored and gitbook-bot committed Jan 20, 2022
1 parent 22ebb0a commit 6c4ce33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added .gitbook/assets/Squid Architecture diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions key-concepts/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ A Squid query node consists of the following core parts:
* PostgreSQL (Data Storage)
* GraphQL Server

![Squid and Squid Archive are the main components](<../.gitbook/assets/Squid Architecture diagram.png>)

The Squid project takes as an input a high-level GraphQL-like schema modeling the blockchain data ("entities") to be indexed. The mappings describe the event handlers telling the indexer how the blockchain events affect the schema entities.

Once the schema and the mappings are set up, the [Squid Archive](architecture.md#squid-archive) prepares the database and starts the continuous scan of the blockchain, processing the events through the mappings and updating the entities in the database.
Expand Down

0 comments on commit 6c4ce33

Please sign in to comment.