Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Crowdin updates #839

Closed
wants to merge 3,820 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
3820 commits
Select commit Hold shift + click to select a range
afb1c16
New translations delegating.mdx (Swahili)
benface Feb 6, 2025
942085a
New translations sinks.mdx (Chinese Simplified)
benface Feb 6, 2025
8507aed
New translations glossary.mdx (French)
benface Feb 6, 2025
87cbf8e
New translations curating.mdx (German)
benface Feb 6, 2025
b37195d
New translations grafting.mdx (Russian)
benface Feb 6, 2025
3222c44
New translations new-chain-integration.mdx (Russian)
benface Feb 6, 2025
a58ea75
New translations grafting.mdx (Russian)
benface Feb 6, 2025
3705fdc
New translations grafting.mdx (Russian)
benface Feb 6, 2025
285da5b
New translations grafting-hotfix.mdx (Russian)
benface Feb 6, 2025
86be9df
New translations grafting-hotfix.mdx (Russian)
benface Feb 6, 2025
ae233b0
New translations grafting-hotfix.mdx (Russian)
benface Feb 7, 2025
332d0fe
New translations immutable-entities-bytes-as-ids.mdx (Russian)
benface Feb 7, 2025
618a7f6
New translations near.mdx (Russian)
benface Feb 7, 2025
c739ac6
New translations near.mdx (Russian)
benface Feb 7, 2025
030f3c3
New translations pruning.mdx (Russian)
benface Feb 7, 2025
431070d
New translations pruning.mdx (Russian)
benface Feb 7, 2025
99013e3
New translations secure-api-keys-nextjs.mdx (Russian)
benface Feb 7, 2025
dbdec69
New translations subgraph-debug-forking.mdx (Russian)
benface Feb 7, 2025
f31719a
New translations subgraph-debug-forking.mdx (Russian)
benface Feb 7, 2025
38e102c
New translations subgraph-uncrashable.mdx (Russian)
benface Feb 7, 2025
a621ec4
New translations transfer-to-the-graph.mdx (Russian)
benface Feb 7, 2025
fcb0c59
New translations subgraph-debug-forking.mdx (Russian)
benface Feb 7, 2025
678b902
New translations timeseries.mdx (Russian)
benface Feb 7, 2025
b95da89
New translations cosmos.mdx (Chinese Simplified)
benface Feb 7, 2025
3fe2200
New translations avoid-eth-calls.mdx (Russian)
benface Feb 7, 2025
f66ff6d
New translations derivedfrom.mdx (Russian)
benface Feb 7, 2025
3f6f252
New translations billing.mdx (Spanish)
benface Feb 7, 2025
4903d91
New translations grafting.mdx (Chinese Simplified)
benface Feb 8, 2025
97f0cd8
New translations avoid-eth-calls.mdx (Turkish)
benface Feb 8, 2025
92eb764
New translations derivedfrom.mdx (Turkish)
benface Feb 8, 2025
4f31428
New translations grafting-hotfix.mdx (Turkish)
benface Feb 8, 2025
f35a721
New translations immutable-entities-bytes-as-ids.mdx (Turkish)
benface Feb 8, 2025
d89fe99
New translations pruning.mdx (Turkish)
benface Feb 8, 2025
a8e4d3d
New translations timeseries.mdx (Turkish)
benface Feb 8, 2025
fd78a87
New translations assemblyscript-migration-guide.mdx (Turkish)
benface Feb 8, 2025
077945a
New translations arweave.mdx (Portuguese)
benface Feb 8, 2025
5cbe050
New translations avoid-eth-calls.mdx (Portuguese)
benface Feb 8, 2025
b4e9b6e
New translations cosmos.mdx (Portuguese)
benface Feb 8, 2025
024e6f5
New translations derivedfrom.mdx (Portuguese)
benface Feb 8, 2025
cac90cf
New translations enums.mdx (Portuguese)
benface Feb 8, 2025
bc6abb1
New translations grafting-hotfix.mdx (Portuguese)
benface Feb 8, 2025
8720cb7
New translations grafting.mdx (Portuguese)
benface Feb 8, 2025
1ae38c6
New translations immutable-entities-bytes-as-ids.mdx (Portuguese)
benface Feb 8, 2025
7c10916
New translations near.mdx (Portuguese)
benface Feb 8, 2025
ef17318
New translations pruning.mdx (Portuguese)
benface Feb 8, 2025
d7f37fa
New translations secure-api-keys-nextjs.mdx (Portuguese)
benface Feb 8, 2025
5853272
New translations subgraph-debug-forking.mdx (Portuguese)
benface Feb 8, 2025
2fa68cb
New translations subgraph-uncrashable.mdx (Portuguese)
benface Feb 8, 2025
c96cbb5
New translations timeseries.mdx (Portuguese)
benface Feb 8, 2025
7bfb6c8
New translations transfer-to-the-graph.mdx (Portuguese)
benface Feb 8, 2025
1433c64
New translations explorer.mdx (Portuguese)
benface Feb 8, 2025
0442a33
New translations quick-start.mdx (Portuguese)
benface Feb 8, 2025
8dff8cf
New translations assemblyscript-migration-guide.mdx (Turkish)
benface Feb 8, 2025
f975ccd
New translations polymarket.mdx (Portuguese)
benface Feb 8, 2025
11a851d
New translations assemblyscript-migration-guide.mdx (Turkish)
benface Feb 8, 2025
780cd92
New translations glossary.mdx (French)
benface Feb 9, 2025
9a704c3
New translations derivedfrom.mdx (Russian)
benface Feb 9, 2025
9c40eb9
New translations enums.mdx (Russian)
benface Feb 9, 2025
1016f9f
New translations grafting.mdx (Russian)
benface Feb 9, 2025
3e9009c
New translations near.mdx (Russian)
benface Feb 9, 2025
885bdb9
New translations near.mdx (Russian)
benface Feb 9, 2025
6c18b6f
New translations pruning.mdx (Russian)
benface Feb 9, 2025
b34a872
New translations secure-api-keys-nextjs.mdx (Russian)
benface Feb 9, 2025
a71255c
New translations subgraph-debug-forking.mdx (Russian)
benface Feb 9, 2025
32dbb01
New translations timeseries.mdx (Russian)
benface Feb 9, 2025
b5282b3
New translations subgraph-debug-forking.mdx (Russian)
benface Feb 9, 2025
ba6536a
New translations subgraph-uncrashable.mdx (Russian)
benface Feb 9, 2025
018af75
New translations transfer-to-the-graph.mdx (Russian)
benface Feb 9, 2025
0dd56a7
New translations delegating.mdx (Russian)
benface Feb 9, 2025
15b50fb
New translations glossary.mdx (French)
benface Feb 10, 2025
1e1597c
New translations grafting-hotfix.mdx (Chinese Simplified)
benface Feb 10, 2025
cb97fc7
New translations glossary.mdx (German)
benface Feb 10, 2025
6f6a314
New translations benefits.mdx (German)
benface Feb 10, 2025
9aaf2d5
New translations tokenomics.mdx (German)
benface Feb 10, 2025
6212fb8
New translations delegating.mdx (German)
benface Feb 10, 2025
423f1bb
New translations glossary.mdx (German)
benface Feb 10, 2025
1f955c2
New translations benefits.mdx (German)
benface Feb 10, 2025
251aa69
New translations tokenomics.mdx (German)
benface Feb 10, 2025
c396955
New translations triggers.mdx (German)
benface Feb 10, 2025
fb63059
New translations delegating.mdx (German)
benface Feb 10, 2025
5158ff9
New translations assemblyscript-migration-guide.mdx (German)
benface Feb 10, 2025
090e9a4
New translations ql-schema.mdx (Portuguese)
benface Feb 10, 2025
559f2a8
New translations ql-schema.mdx (Romanian)
benface Feb 10, 2025
296f59b
New translations ql-schema.mdx (French)
benface Feb 10, 2025
1b47e4d
New translations ql-schema.mdx (Spanish)
benface Feb 10, 2025
6cf98db
New translations ql-schema.mdx (Arabic)
benface Feb 10, 2025
5882677
New translations ql-schema.mdx (Czech)
benface Feb 10, 2025
7b46635
New translations ql-schema.mdx (German)
benface Feb 10, 2025
7124ef9
New translations ql-schema.mdx (Italian)
benface Feb 10, 2025
af0cf2f
New translations ql-schema.mdx (Japanese)
benface Feb 10, 2025
b942e58
New translations ql-schema.mdx (Korean)
benface Feb 10, 2025
5c37b7e
New translations ql-schema.mdx (Dutch)
benface Feb 10, 2025
512f7f4
New translations ql-schema.mdx (Polish)
benface Feb 10, 2025
8c5e297
New translations ql-schema.mdx (Russian)
benface Feb 10, 2025
48bb2b8
New translations ql-schema.mdx (Swedish)
benface Feb 10, 2025
ac32b62
New translations ql-schema.mdx (Turkish)
benface Feb 10, 2025
57ad416
New translations ql-schema.mdx (Ukrainian)
benface Feb 10, 2025
c36e253
New translations ql-schema.mdx (Chinese Simplified)
benface Feb 10, 2025
fc5cd8d
New translations ql-schema.mdx (Urdu (Pakistan))
benface Feb 10, 2025
fc69a8c
New translations ql-schema.mdx (Vietnamese)
benface Feb 10, 2025
ee5d06e
New translations ql-schema.mdx (Marathi)
benface Feb 10, 2025
497c6cb
New translations ql-schema.mdx (Hindi)
benface Feb 10, 2025
7225022
New translations ql-schema.mdx (Swahili)
benface Feb 10, 2025
c1c545a
New translations grafting-hotfix.mdx (Turkish)
benface Feb 10, 2025
ed64493
New translations grafting-hotfix.mdx (Turkish)
benface Feb 10, 2025
908e95c
New translations immutable-entities-bytes-as-ids.mdx (Turkish)
benface Feb 10, 2025
66ffa6f
New translations pruning.mdx (Turkish)
benface Feb 10, 2025
2812af8
New translations timeseries.mdx (Turkish)
benface Feb 10, 2025
27f3e00
New translations grafting.mdx (Turkish)
benface Feb 10, 2025
b87973d
New translations transfer-to-the-graph.mdx (Turkish)
benface Feb 10, 2025
1aa5175
New translations transfer-to-the-graph.mdx (Turkish)
benface Feb 11, 2025
bc3ae7b
New translations near.mdx (Turkish)
benface Feb 11, 2025
06c4916
New translations immutable-entities-bytes-as-ids.mdx (Turkish)
benface Feb 11, 2025
797cd53
New translations pruning.mdx (Turkish)
benface Feb 11, 2025
7264ec0
New translations secure-api-keys-nextjs.mdx (Turkish)
benface Feb 11, 2025
53a986c
New translations near.mdx (Chinese Simplified)
benface Feb 11, 2025
87c1e37
New translations secure-api-keys-nextjs.mdx (Turkish)
benface Feb 11, 2025
5028161
New translations subgraph-debug-forking.mdx (Turkish)
benface Feb 11, 2025
8b049bb
New translations subgraph-uncrashable.mdx (Turkish)
benface Feb 11, 2025
df3b821
New translations explorer.mdx (German)
benface Feb 11, 2025
29cc6a8
New translations timeseries.mdx (Turkish)
benface Feb 11, 2025
ea7cefc
New translations curating.mdx (Portuguese)
benface Feb 11, 2025
faea160
New translations explorer.mdx (Portuguese)
benface Feb 11, 2025
3b538ba
New translations explorer.mdx (Romanian)
benface Feb 11, 2025
167e962
New translations explorer.mdx (French)
benface Feb 11, 2025
681e03a
New translations explorer.mdx (Spanish)
benface Feb 11, 2025
f57b07c
New translations explorer.mdx (Arabic)
benface Feb 11, 2025
192d111
New translations explorer.mdx (Czech)
benface Feb 11, 2025
e39eb24
New translations explorer.mdx (Italian)
benface Feb 11, 2025
5b4bb20
New translations explorer.mdx (Japanese)
benface Feb 11, 2025
72f98eb
New translations explorer.mdx (Korean)
benface Feb 11, 2025
1f0a4a9
New translations explorer.mdx (Dutch)
benface Feb 11, 2025
5ee01ce
New translations explorer.mdx (Polish)
benface Feb 11, 2025
2c1683a
New translations explorer.mdx (Russian)
benface Feb 11, 2025
2914bb7
New translations explorer.mdx (Swedish)
benface Feb 11, 2025
ae57c8d
New translations explorer.mdx (Turkish)
benface Feb 11, 2025
97a39f7
New translations explorer.mdx (Ukrainian)
benface Feb 11, 2025
4f3191f
New translations explorer.mdx (Chinese Simplified)
benface Feb 11, 2025
9c2983d
New translations explorer.mdx (Urdu (Pakistan))
benface Feb 11, 2025
cc2cc6e
New translations explorer.mdx (Vietnamese)
benface Feb 11, 2025
8b1ab70
New translations explorer.mdx (Marathi)
benface Feb 11, 2025
ded161e
New translations explorer.mdx (Hindi)
benface Feb 11, 2025
34e5cf8
New translations explorer.mdx (Swahili)
benface Feb 11, 2025
fe5ae5c
New translations curating.mdx (Romanian)
benface Feb 11, 2025
89e631a
New translations curating.mdx (French)
benface Feb 11, 2025
8f3ca14
New translations curating.mdx (Spanish)
benface Feb 11, 2025
e9ca7bd
New translations curating.mdx (Arabic)
benface Feb 11, 2025
db36f2e
New translations curating.mdx (Czech)
benface Feb 11, 2025
0231015
New translations curating.mdx (German)
benface Feb 11, 2025
fff5732
New translations curating.mdx (Italian)
benface Feb 11, 2025
62396f7
New translations curating.mdx (Japanese)
benface Feb 11, 2025
40f83b3
New translations curating.mdx (Korean)
benface Feb 11, 2025
bb17ae9
New translations curating.mdx (Dutch)
benface Feb 11, 2025
e9ee0db
New translations curating.mdx (Polish)
benface Feb 11, 2025
8fc02a7
New translations curating.mdx (Russian)
benface Feb 11, 2025
3a4a105
New translations curating.mdx (Swedish)
benface Feb 11, 2025
7552939
New translations curating.mdx (Turkish)
benface Feb 11, 2025
84ebf4b
New translations subgraph-debug-forking.mdx (Turkish)
benface Feb 11, 2025
38c1793
New translations subgraph-uncrashable.mdx (Turkish)
benface Feb 11, 2025
d3a2c65
New translations transfer-to-the-graph.mdx (Turkish)
benface Feb 11, 2025
69f614a
New translations curating.mdx (Ukrainian)
benface Feb 11, 2025
4b8732c
New translations curating.mdx (Chinese Simplified)
benface Feb 11, 2025
cb7c691
New translations curating.mdx (Urdu (Pakistan))
benface Feb 11, 2025
3ae5b28
New translations curating.mdx (Vietnamese)
benface Feb 11, 2025
c564e7c
New translations curating.mdx (Marathi)
benface Feb 11, 2025
13e70ac
New translations curating.mdx (Hindi)
benface Feb 11, 2025
155661a
New translations curating.mdx (Swahili)
benface Feb 11, 2025
6b73503
New translations undelegating.mdx (Romanian)
benface Feb 11, 2025
37380f5
New translations undelegating.mdx (French)
benface Feb 11, 2025
4ff0794
New translations undelegating.mdx (Spanish)
benface Feb 11, 2025
eb54736
New translations undelegating.mdx (Arabic)
benface Feb 11, 2025
765c05c
New translations undelegating.mdx (Czech)
benface Feb 11, 2025
f322c28
New translations undelegating.mdx (German)
benface Feb 11, 2025
328d089
New translations undelegating.mdx (Italian)
benface Feb 11, 2025
e4c9e2a
New translations undelegating.mdx (Japanese)
benface Feb 11, 2025
5416bf1
New translations undelegating.mdx (Korean)
benface Feb 11, 2025
d8d6958
New translations undelegating.mdx (Dutch)
benface Feb 11, 2025
598c4e2
New translations undelegating.mdx (Polish)
benface Feb 11, 2025
869bcea
New translations undelegating.mdx (Portuguese)
benface Feb 11, 2025
60dbef6
New translations undelegating.mdx (Russian)
benface Feb 11, 2025
33d3f4c
New translations undelegating.mdx (Swedish)
benface Feb 11, 2025
61a64b3
New translations undelegating.mdx (Turkish)
benface Feb 11, 2025
2e489b9
New translations undelegating.mdx (Ukrainian)
benface Feb 11, 2025
16cfc7b
New translations undelegating.mdx (Chinese Simplified)
benface Feb 11, 2025
b565c5e
New translations undelegating.mdx (Urdu (Pakistan))
benface Feb 11, 2025
4be074e
New translations undelegating.mdx (Vietnamese)
benface Feb 11, 2025
52530f8
New translations undelegating.mdx (Marathi)
benface Feb 11, 2025
60e3ca4
New translations undelegating.mdx (Hindi)
benface Feb 11, 2025
e34aa15
New translations undelegating.mdx (Swahili)
benface Feb 11, 2025
74a1957
New translations near.mdx (Turkish)
benface Feb 11, 2025
a76d52b
New translations grafting-hotfix.mdx (Turkish)
benface Feb 11, 2025
e557397
New translations immutable-entities-bytes-as-ids.mdx (Turkish)
benface Feb 11, 2025
3057b55
New translations pruning.mdx (Turkish)
benface Feb 11, 2025
4978e76
New translations secure-api-keys-nextjs.mdx (Turkish)
benface Feb 11, 2025
59e839a
New translations timeseries.mdx (Turkish)
benface Feb 11, 2025
9ca9af3
New translations grafting.mdx (Turkish)
benface Feb 11, 2025
62fe0bf
New translations subgraph-debug-forking.mdx (Turkish)
benface Feb 11, 2025
c736b17
New translations subgraph-uncrashable.mdx (Turkish)
benface Feb 11, 2025
6c8f926
New translations transfer-to-the-graph.mdx (Turkish)
benface Feb 11, 2025
0bd062b
New translations advanced.mdx (Chinese Simplified)
benface Feb 12, 2025
f8df1d1
New translations near.mdx (Chinese Simplified)
benface Feb 12, 2025
62ae4f0
New translations glossary.mdx (French)
benface Feb 12, 2025
3009c84
New translations overview.mdx (German)
benface Feb 12, 2025
ab59e87
New translations assemblyscript-migration-guide.mdx (German)
benface Feb 12, 2025
7c1c655
New translations assemblyscript-migration-guide.mdx (German)
benface Feb 12, 2025
1ee90de
New translations assemblyscript-migration-guide.mdx (German)
benface Feb 12, 2025
9ad7e13
New translations assemblyscript-migration-guide.mdx (German)
benface Feb 12, 2025
385f358
New translations curating.mdx (Turkish)
benface Feb 12, 2025
83a30fa
New translations publishing-a-subgraph.mdx (Turkish)
benface Feb 12, 2025
1a37a26
New translations introduction.mdx (German)
benface Feb 12, 2025
b0aa95a
New translations triggers.mdx (German)
benface Feb 12, 2025
5626c51
New translations delegating.mdx (Turkish)
benface Feb 12, 2025
c69d22d
New translations avoid-eth-calls.mdx (Chinese Simplified)
benface Feb 12, 2025
8d6236b
New translations derivedfrom.mdx (Chinese Simplified)
benface Feb 12, 2025
ef09538
New translations pruning.mdx (Chinese Simplified)
benface Feb 12, 2025
a3c01bf
New translations secure-api-keys-nextjs.mdx (Chinese Simplified)
benface Feb 12, 2025
09493e1
New translations timeseries.mdx (Chinese Simplified)
benface Feb 12, 2025
e41468f
New translations triggers.mdx (German)
benface Feb 12, 2025
27c9173
New translations delegating.mdx (Turkish)
benface Feb 12, 2025
b53cf6a
New translations managing-api-keys.mdx (Portuguese)
benface Feb 13, 2025
ef341f1
New translations unit-testing-framework.mdx (Chinese Simplified)
benface Feb 13, 2025
91d83a7
New translations quick-start.mdx (Chinese Simplified)
benface Feb 13, 2025
02fd476
New translations overview.mdx (Chinese Simplified)
benface Feb 13, 2025
bed572c
New translations secure-api-keys-nextjs.mdx (Chinese Simplified)
benface Feb 13, 2025
0b8de6e
New translations devcontainer.mdx (Chinese Simplified)
benface Feb 13, 2025
abcea9b
New translations accountchanges.mdx (Chinese Simplified)
benface Feb 13, 2025
5a2c00c
New translations pubsubstreams.mdx (Chinese Simplified)
benface Feb 13, 2025
7aab581
New translations tutorial.mdx (Chinese Simplified)
benface Feb 13, 2025
7bb3c64
New translations avoid-eth-calls.mdx (Chinese Simplified)
benface Feb 13, 2025
6f62942
New translations derivedfrom.mdx (Chinese Simplified)
benface Feb 13, 2025
5112e49
New translations secure-api-keys-nextjs.mdx (Chinese Simplified)
benface Feb 13, 2025
a989888
New translations timeseries.mdx (Chinese Simplified)
benface Feb 13, 2025
8d5740e
New translations sps-faq.mdx (German)
benface Feb 13, 2025
fabae47
New translations triggers.mdx (German)
benface Feb 13, 2025
7beea4c
New translations tutorial.mdx (German)
benface Feb 13, 2025
6daa3c9
New translations glossary.mdx (German)
benface Feb 13, 2025
96e3a1c
New translations new-chain-integration.mdx (German)
benface Feb 13, 2025
022fd13
New translations benefits.mdx (German)
benface Feb 13, 2025
cc503b3
New translations tokenomics.mdx (German)
benface Feb 13, 2025
0726781
New translations subgraph-debug-forking.mdx (Chinese Simplified)
benface Feb 13, 2025
e7a0bc0
New translations sps-faq.mdx (German)
benface Feb 13, 2025
47fac9c
New translations delegating.mdx (German)
benface Feb 13, 2025
4f4439a
New translations benefits.mdx (German)
benface Feb 13, 2025
e8fa5ef
New translations benefits.mdx (Russian)
benface Feb 13, 2025
490bb74
New translations subgraph-debug-forking.mdx (Chinese Simplified)
benface Feb 13, 2025
6b3c194
New translations graphql-api.mdx (Portuguese)
benface Feb 13, 2025
a1d11ff
New translations python.mdx (Portuguese)
benface Feb 13, 2025
957b794
New translations introduction.mdx (Portuguese)
benface Feb 13, 2025
0cf3a7b
New translations explorer.mdx (Portuguese)
benface Feb 13, 2025
30b1dae
New translations explorer.mdx (Portuguese)
benface Feb 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
New translations graph-node.mdx (Portuguese)
benface committed Jan 30, 2025
commit d41f99927f3d084a643f437392167860134669aa
102 changes: 51 additions & 51 deletions website/pages/pt/indexing/tooling/graph-node.mdx
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ title: Graph Node

O Node do The Graph (Graph Node) é o componente que indexa subgraphs e disponibiliza os dados resultantes a queries (consultas de dados) através de uma API GraphQL. Assim, ele é central ao stack dos indexers, e é crucial fazer operações corretas com um node Graph para executar um indexer com êxito.

This provides a contextual overview of Graph Node, and some of the more advanced options available to indexers. Detailed documentation and instructions can be found in the [Graph Node repository](https://github.com/graphprotocol/graph-node).
Isto fornece um resumo contextual do Graph Node e algumas das opções mais avançadas disponíveis para indexadores. Para mais instruções e documentação, veja o [repositório do Graph Node](https://github.com/graphprotocol/graph-node).

## Graph Node

[Graph Node](https://github.com/graphprotocol/graph-node) is the reference implementation for indexing Subgraphs on The Graph Network, connecting to blockchain clients, indexing subgraphs and making indexed data available to query.
O [Graph Node](https://github.com/graphprotocol/graph-node) é a implementação de referência para indexar Subgraphs na The Graph Network (rede do The Graph); fazer conexões com clientes de blockchain; indexar subgraphs; e disponibilizar dados indexados para queries.

Graph Node (and the whole indexer stack) can be run on bare metal, or in a cloud environment. This flexibility of the central indexing component is crucial to the robustness of The Graph Protocol. Similarly, Graph Node can be [built from source](https://github.com/graphprotocol/graph-node), or indexers can use one of the [provided Docker Images](https://hub.docker.com/r/graphprotocol/graph-node).
O Graph Node (e todo o stack dos indexadores) pode ser executado em um sistema bare-metal ou num ambiente na nuvem. Esta flexibilidade do componente central de indexing é importante para a robustez do Protocolo The Graph. Da mesma forma, um Graph Node pode ser [construído do código fonte](https://github.com/graphprotocol/graph-node) ou os indexadores podem usar uma das [imagens disponíveis no Docker](https://hub.docker.com/r/graphprotocol/graph-node).

### Banco de dados PostgreSQL

@@ -20,9 +20,9 @@ O armazenamento principal para o Graph Node. É aqui que são guardados dados de

Para indexar uma rede, o Graph Node precisa de acesso a um cliente de rede através de uma API JSON-RPC compatível com EVM. Esta RPC (chamada de processamento remoto) pode se conectar a um único cliente de Ethereum; ou o setup pode ser mais complexo, de modo a carregar saldos em múltiplos clientes.

While some subgraphs may just require a full node, some may have indexing features which require additional RPC functionality. Specifically subgraphs which make `eth_calls` as part of indexing will require an archive node which supports [EIP-1898](https://eips.ethereum.org/EIPS/eip-1898), and subgraphs with `callHandlers`, or `blockHandlers` with a `call` filter, require `trace_filter` support ([see trace module documentation here](https://openethereum.github.io/JSONRPC-trace-module)).
Enquanto alguns subgraphs exigem apenas um node completo, alguns podem ter recursos de indexação que precisem de funções adicionais de RPC (chamadas de procedimento remoto). Especificamente, subgraphs que usam o `eth_calls` como parte da indexação exigirão um node de arquivo que apoie o [EIP-1898](https://eips.ethereum.org/EIPS/eip-1898); e subgraphs com `callHandlers`, ou `blockHandlers` com um filtro `call`, exigem apoio ao `trace_filter` (veja a documentação sobre o trace module (módulo de rastreio) [aqui](https://openethereum.github.io/JSONRPC-trace-module)).

**Network Firehoses** - a Firehose is a gRPC service providing an ordered, yet fork-aware, stream of blocks, developed by The Graph's core developers to better support performant indexing at scale. This is not currently an Indexer requirement, but Indexers are encouraged to familiarise themselves with the technology, ahead of full network support. Learn more about the Firehose [here](https://firehose.streamingfast.io/).
**Firehoses de Rede** - um Firehose é um serviço de gRPC (chamadas de procedimento remoto - Google) que fornece uma transmissão ordenada — mas consciente de forks — de blocos, feito pelos programadores centrais do The Graph para permitir indexação em escala mais eficiente. Isto não é um requisito atual para Indexadores, mas é ideal que os mesmos experimentem a tecnologia, antes do apoio total à rede. Leia mais sobre o Firehose [aqui](https://firehose.streamingfast.io/).

### Nodes IPFS

@@ -42,7 +42,7 @@ O Graph Node pode, opcionalmente, logar métricas a um servidor de métricas Pro

- **IPFS**

- **Additional Requirements for Ubuntu users** - To run a Graph Node on Ubuntu a few additional packages may be needed.
- **Requisitos Adicionais para utilizadores de Ubuntu** — A execução de um Graph Node no Ubuntu pode exigir pacotes adicionais.

```sh
sudo apt-get install -y clang libpq-dev libssl-dev pkg-config
@@ -58,7 +58,7 @@ pg_ctl -D .postgres -l logfile start
createdb graph-node
```

2. Clone [Graph Node](https://github.com/graphprotocol/graph-node) repo and build the source by running `cargo build`
2. Clone o repositório do [Graph Node](https://github.com/graphprotocol/graph-node) e execute `cargo build` para construir a fonte

3. Agora que todas as dependências estão prontas, inicie o Graph Node:

@@ -71,7 +71,7 @@ cargo run -p graph-node --release -- \

### Como começar com Kubernetes

A complete Kubernetes example configuration can be found in the [indexer repository](https://github.com/graphprotocol/indexer/tree/main/k8s).
Veja um exemplo completo de configuração do Kubernetes no [repositório do indexer](https://github.com/graphprotocol/indexer/tree/main/k8s).

### Os básicos do Kubernetes

@@ -85,42 +85,42 @@ Durante a execução, o Graph Node expõe as seguintes portas:
| 8030 | API de status de indexamento do subgraph | /graphql | \--index-node-port | - |
| 8040 | Métricas Prometheus | /metrics | \--metrics-port | - |

> **Important**: Be careful about exposing ports publicly - **administration ports** should be kept locked down. This includes the the Graph Node JSON-RPC endpoint.
> **Importante**: Cuidado ao expor portas publicamente — **portas de administração** devem ser trancadas a sete chaves. Isto inclui o endpoint JSON-RPC do Graph Node.
## Configurações avançadas do Graph Node

Basicamente, o Graph Node pode ser operado com uma única instância de Graph Node, um único banco de dados PostgreSQP, e os clientes de rede como exigidos pelos subgraphs a serem indexados.

This setup can be scaled horizontally, by adding multiple Graph Nodes, and multiple databases to support those Graph Nodes. Advanced users may want to take advantage of some of the horizontal scaling capabilities of Graph Node, as well as some of the more advanced configuration options, via the `config.toml` file and Graph Node's environment variables.
Este setup pode ser escalado horizontalmente, com a adição de vários Graph Nodes e bancos de dados para apoiá-los. Utilizadores mais avançados podem tomar vantagem de algumas das capacidades de escala horizontal do Graph Node, assim como algumas das opções de configuração mais avançadas, através do arquivo `config.toml` e as variáveis de ambiente do Graph Node.

### `config.toml`

A [TOML](https://toml.io/en/) configuration file can be used to set more complex configurations than those exposed in the CLI. The location of the file is passed with the --config command line switch.
Um arquivo de configuração [TOML](https://toml.io/en/) pode ser usado para fazer configurações mais complexas do que as expostas na CLI. O local do arquivo é passado com a linha de comando --config.

> Ao usar um arquivo de configuração, não é possível usar as opções --postgres-url, --postgres-secondary-hosts, e --postgres-host-weights.
A minimal `config.toml` file can be provided; the following file is equivalent to using the --postgres-url command line option:
É possível fornecer um arquivo mínimo `config.toml`; o seguinte arquivo é o equivalente à opção de linha de comando --postgres-url:

```toml
[store]
[store.primary]
connection="<.. postgres-url argument ..>"
connection="<.. argumento postgres-url ..>"
[deployment]
[[deployment.rule]]
indexers = [ "<.. list of all indexing nodes ..>" ]
indexers = [ "<.. lista de todos os nodes de indexação ..>" ]
```

Full documentation of `config.toml` can be found in the [Graph Node docs](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md).
A documentação completa do `config.toml` pode ser encontrada nos [documentos do Graph Node](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md).

#### Múltiplos Graph Nodes

Graph Node indexing can scale horizontally, running multiple instances of Graph Node to split indexing and querying across different nodes. This can be done simply by running Graph Nodes configured with a different `node_id` on startup (e.g. in the Docker Compose file), which can then be used in the `config.toml` file to specify [dedicated query nodes](#dedicated-query-nodes), [block ingestors](#dedicated-block-ingestion), and splitting subgraphs across nodes with [deployment rules](#deployment-rules).
A indexação de Graph Nodes pode ser escalada horizontalmente, com a execução de várias instâncias de Graph Node para separar indexação de queries em nodes diferentes. Isto é possível só com a execução de Graph Nodes, configurados com um `node_id` diferente na inicialização (por ex. no arquivo Docker Compose), que pode então ser usado no arquivo `config.toml` para especificar [nodes dedicados de query](#dedicated-query-nodes), [ingestores de blocos](#dedicated-block-ingestion") e separar subgraphs entre nódulos com [regras de lançamento](#deployment-rules).

> Note que vários Graph Nodes podem ser configurados para usar o mesmo banco de dados — que, por conta própria, pode ser escalado horizontalmente através do sharding.
#### Regras de lançamento

Given multiple Graph Nodes, it is necessary to manage deployment of new subgraphs so that the same subgraph isn't being indexed by two different nodes, which would lead to collisions. This can be done by using deployment rules, which can also specify which `shard` a subgraph's data should be stored in, if database sharding is being used. Deployment rules can match on the subgraph name and the network that the deployment is indexing in order to make a decision.
Levando em conta vários Graph Nodes, é necessário gerir o lançamento de novos subgraphs para que o mesmo subgraph não seja indexado por dois nodes diferentes, o que levaria a colisões. Isto é possível regras de lançamento, que também podem especificar em qual `shard` os dados de um subgraph devem ser armazenados, caso seja usado o sharding de bancos de dados. As regras de lançamento podem combinar com o nome do subgraph e com a rede que o lançamento indexa para fazer uma decisão.

Exemplo de configuração de regra de lançamento:

@@ -150,7 +150,7 @@ indexers = [
]
```

Read more about deployment rules [here](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md#controlling-deployment).
Saiba mais sobre regras de lançamento [aqui](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md#controlling-deployment).

#### Nodes dedicados de query

@@ -167,19 +167,19 @@ Qualquer node cujo --node-id combina com a expressão regular será programado p

Para a maioria dos casos de uso, um único banco de dados Postgres é suficiente para apoiar uma instância de graph-node. Quando uma instância de graph-node cresce mais que um único banco Postgres, é possível dividir o armazenamento dos dados do graph-node entre múltiplos bancos Postgres. Todos os bancos de dados, juntos, formam o armazenamento da instância do graph-node. Cada banco de dados individual é chamado de shard.

Shards can be used to split subgraph deployments across multiple databases, and can also be used to use replicas to spread query load across databases. This includes configuring the number of available database connections each `graph-node` should keep in its connection pool for each database, which becomes increasingly important as more subgraphs are being indexed.
Os shards servem para dividir lançamentos de subgraph em múltiplos bancos de dados, e podem também ser configurados para usar réplicas a fim de dividir a carga de query entre bancos de dados. Isto inclui a configuração do número de conexões disponíveis do banco que cada `graph-node` deve manter em seu pool de conexão para cada banco, o que fica cada vez mais importante conforme são indexados mais subgraphs.

O sharding torna-se útil quando o seu banco de dados existente não aguenta o peso do Graph Node, e quando não é mais possível aumentar o tamanho do banco.

> Geralmente, antes de começar com shards, é melhor maximizar o tamanho de um único banco de dados. Uma exceção é onde o tráfego de queries é dividido de maneira muito desigual entre subgraphs; nestes casos, pode ser de bom valor que os subgraphs de alto volume sejam mantidos em um shard e todo o resto em outro, porque aquele setup aumenta muito a chance dos dados para os subgraphs de alto volume permanecerem no cache db-internal e não serem substituídos por dados de menor prioridade nos subgraphs de baixo volume.
Em termos de configuração de conexões, comece com o max_connections no postgresql.conf configurado em 400 (ou talvez até 200) e preste atenção nas métricas do Prometheus store_connection_wait_time_ms e store_connection_checkout_count. Tempos de espera óbvios (acima de 5ms) indicam que há poucas conexões disponíveis; também podem ser causados por atividade excessiva no banco de dados (como uso alto de CPU). Mas caso o banco de dados pareça estável fora isto, os tempos de espera longos indicam uma necessidade de aumento no número de conexões. Na configuração, há um limite máximo de conexões que cada instância graph-node pode usar, e o Graph Node não manterá conexões abertas caso não sejam necessárias.

Read more about store configuration [here](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md#configuring-multiple-databases).
Veja mais sobre configurações de armazenamento [aqui](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md#configuring-multiple-databases).

#### Ingestão dedicada de blocos

If there are multiple nodes configured, it will be necessary to specify one node which is responsible for ingestion of new blocks, so that all configured index nodes aren't polling the chain head. This is done as part of the `chains` namespace, specifying the `node_id` to be used for block ingestion:
Caso hajam múltiplos nodes configurados, especifique um node a ser responsável pela ingestão de novos blocos, para que todos os nodes de indexação configurados não consultem o topo da cadeia. Isto é feito como parte do namespace `chains`, a especificar o `node_id` usado para ingestão de blocos:

```toml
[chains]
@@ -188,13 +188,13 @@ ingestor = "block_ingestor_node"

#### Apoio a múltiplas redes

The Graph Protocol is increasing the number of networks supported for indexing rewards, and there exist many subgraphs indexing unsupported networks which an indexer would like to process. The `config.toml` file allows for expressive and flexible configuration of:
O Graph Protocol só aumenta o número de redes, com apoio a recompensas de indexação, e existem muitos subgraphs a indexarem redes não apoiadas que um indexador gostaria de processar. O arquivo config.toml permite a configuração expressiva e flexível de:

- Múltiplas redes
- Múltiplos provedores por rede (isto pode permitir a separação de peso entre eles, e pode permitir a configuração de nodes completos além de nodes de arquivo; o Graph Node prefere provedores mais baratos, caso permita uma carga de trabalho).
- Detalhes adicionais de provedor, como recursos, autenticação e tipo (para apoio experimental ao Firehose)

The `[chains]` section controls the ethereum providers that graph-node connects to, and where blocks and other metadata for each chain are stored. The following example configures two chains, mainnet and kovan, where blocks for mainnet are stored in the vip shard and blocks for kovan are stored in the primary shard. The mainnet chain can use two different providers, whereas kovan only has one provider.
A seção `[chains]` controla os provedores de ethereum a que o graph-node se conecta, e o local de armazenamento de blocos e outros metadados para cada chain. O seguinte exemplo configura duas chains, mainnet e kovan, onde blocos para a mainnet são armazenados no shard vip e blocos para kovan vão para o shard primário. A chain da mainnet pode usar dois provedores diferentes, sendo que o kovan só tem um provedor.

```toml
[chains]
@@ -210,50 +210,50 @@ shard = "primary"
provider = [ { label = "kovan", url = "http://..", features = [] } ]
```

Read more about provider configuration [here](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md#configuring-ethereum-providers).
Veja mais sobre configurações de provedor [aqui](https://github.com/graphprotocol/graph-node/blob/master/docs/config.md#configuring-ethereum-providers).

### Variáveis de ambiente

Graph Node supports a range of environment variables which can enable features, or change Graph Node behaviour. These are documented [here](https://github.com/graphprotocol/graph-node/blob/master/docs/environment-variables.md).
O Graph Node apoia vários variáveis de ambiente que podem ativar funções ou mudar o seu comportamento. Mais informações [aqui](https://github.com/graphprotocol/graph-node/blob/master/docs/environment-variables.md).

### Lançamento contínuo

Os utilizadores a operar um setup de indexing escalado, com configurações avançadas, podem ganhar mais ao gerir os seus Graph Nodes com o Kubernetes.

- The indexer repository has an [example Kubernetes reference](https://github.com/graphprotocol/indexer/tree/main/k8s)
- [Launchpad](https://docs.graphops.xyz/launchpad/intro) is a toolkit for running a Graph Protocol Indexer on Kubernetes maintained by GraphOps. It provides a set of Helm charts and a CLI to manage a Graph Node deployment.
- O repositório do indexer tem um [exemplo de referência de Kubernetes](https://github.com/graphprotocol/indexer/tree/main/k8s)
- O [Launchpad](https://docs.graphops.xyz/launchpad/intro) é um conjunto kit de ferramentas para executar um Indexer do Graph Protocol no Kubernetes, mantido pelo GraphOps. Ele fornece um conjunto de charts Helm e uma CLI para administrar um lançamento de Graph Node.

### Como gerir o Graph Node

Dado um Graph Node (ou Nodes!) em execução, o desafio torna-se gerir subgraphs lançados entre estes nodes. O Graph Node tem uma gama de ferramentas para ajudar a direção de subgraphs.

#### Logging

Graph Node's logs can provide useful information for debugging and optimisation of Graph Node and specific subgraphs. Graph Node supports different log levels via the `GRAPH_LOG` environment variable, with the following levels: error, warn, info, debug or trace.
Os logs do Graph Node podem fornecer informações úteis, para debug e otimização — do Graph Node e de subgraphs específicos. O Graph Node apoia níveis diferentes de logs através da variável de ambiente `GRAPH_LOG`, com os seguintes níveis: `error`, `warn`, `info`, `debug` ou `trace`.

In addition setting `GRAPH_LOG_QUERY_TIMING` to `gql` provides more details about how GraphQL queries are running (though this will generate a large volume of logs).
Além disto, configurar o `GRAPH_LOG_QUERY_TIMING` para `gql` fornece mais detalhes sobre o processo de queries no GraphQL (porém, isto criará um grande volume de logs).

#### Monitoring & alerting
#### Monitoração e alertas

Naturalmente, o Graph Node fornece as métricas através do endpoint Prometheus na porta 8040. Estas métricas podem ser visualizadas no Grafana.

The indexer repository provides an [example Grafana configuration](https://github.com/graphprotocol/indexer/blob/main/k8s/base/grafana.yaml).
O repositório do indexer fornece um [exemplo de configuração do Grafana](https://github.com/graphprotocol/indexer/blob/main/k8s/base/grafana.yaml).

#### Graphman

`graphman` is a maintenance tool for Graph Node, helping with diagnosis and resolution of different day-to-day and exceptional tasks.
O `graphman` é uma ferramenta de manutenção para o Graph Node, que ajuda com o diagnóstico e a resolução de tarefas diferentes, sejam excecionais ou no dia a dia.

The graphman command is included in the official containers, and you can docker exec into your graph-node container to run it. It requires a `config.toml` file.
O comando `graphman` é incluído nos containers oficiais, e pode ser executado com o docker `exec` no seu container de `graph-node`. Ele exige um arquivo `config.toml`.

Full documentation of `graphman` commands is available in the Graph Node repository. See [/docs/graphman.md] (https://github.com/graphprotocol/graph-node/blob/master/docs/graphman.md) in the Graph Node `/docs`
A documentação completa dos comandos do `graphman` está no repositório do Graph Node. Veja o [/docs/graphman.md](https://github.com/graphprotocol/graph-node/blob/master/docs/graphman.md) no `/docs` do Graph Node

### Como trabalhar com subgraphs

#### API de estado de indexação

Inicialmente disponível na porta 8030/graphql, a API de estado de indexação expõe uma gama de métodos para conferir o estado da indexação para subgraphs diferentes, conferir provas de indexação, inspecionar características de subgraphs, e mais.

The full schema is available [here](https://github.com/graphprotocol/graph-node/blob/master/server/index-node/src/schema.graphql).
Veja o schema completo [aqui](https://github.com/graphprotocol/graph-node/blob/master/server/index-node/src/schema.graphql).

#### Desempenho da indexação

@@ -267,8 +267,8 @@ Estes estágios são segmentados (por ex., podem ser executados em paralelo), ma

Causas comuns de lentidão na indexação:

- Time taken to find relevant events from the chain (call handlers in particular can be slow, given the reliance on `trace_filter`)
- Making large numbers of `eth_calls` as part of handlers
- Tempo para encontrar eventos relevantes na chain (handlers de chamada em particular podem demorar mais, dada a dependência no `trace_filter`)
- Fazer muitos `eth_calls` como parte de handlers
- Excesso de interações no armazenamento durante a execução
- Muitos dados para guardar no armazenamento
- Muitos eventos a serem processados
@@ -287,19 +287,19 @@ As métricas de indexação de subgraph podem ajudar a diagnosticar a causa raiz

Em alguns casos, uma falha pode ser resolvida pelo indexador (por ex. a indexação falhou por ter o tipo errado de provedor, e necessita do correto para continuar). Porém, em outros, é necessária uma alteração no código do subgraph.

> Deterministic failures are considered "final", with a Proof of Indexing generated for the failing block, while non-deterministic failures are not, as the subgraph may manage to "unfail" and continue indexing. In some cases, the non-deterministic label is incorrect, and the subgraph will never overcome the error; such failures should be reported as issues on the Graph Node repository.
> Falhas determinísticas são consideradas "finais", com uma Prova de Indexação (POI) gerada para o bloco falho; falhas não determinísticas não são finais, como há chances do subgraph superar a falha e continuar a indexar. Às vezes, o rótulo de "não determinístico" é incorreto e o subgraph não tem como melhorar do erro; estas falhas devem ser relatadas como problemas no repositório do Graph Node.
#### Cache de blocos e chamadas

Graph Node caches certain data in the store in order to save refetching from the provider. Blocks are cached, as are the results of `eth_calls` (the latter being cached as of a specific block). This caching can dramatically increase indexing speed during "resyncing" of a slightly altered subgraph.
O Graph Node cacheia certos dados no armazenamento para poupar um refetching do provedor. São cacheados os blocos e os resultados do `eth_calls` (este último, cacheado a partir de um bloco específico). Este caching pode aumentar dramaticamente a velocidade de indexação durante a "ressincronização" de um subgraph levemente alterado.

However, in some instances, if an Ethereum node has provided incorrect data for some period, that can make its way into the cache, leading to incorrect data or failed subgraphs. In this case indexers can use `graphman` to clear the poisoned cache, and then rewind the affected subgraphs, which will then fetch fresh data from the (hopefully) healthy provider.
Porém, em algumas instâncias, se um node Ethereum tiver fornecido dados incorretos em algum período, isto pode entrar no cache, o que causa dados incorretos ou subgraphs falhos. Neste caso, os indexadores podem usar o `graphman` para limpar o cache envenenado e rebobinar os subgraphs afetados, que retirarão dados frescos do provedor (idealmente) saudável.

Caso haja uma suspeita de inconsistência no cache de blocos, como a falta de um evento <code>tx receipt missing</code>:

1. `graphman chain list` to find the chain name.
2. `graphman chain check-blocks <CHAIN> by-number <NUMBER>` will check if the cached block matches the provider, and deletes the block from the cache if it doesn’t.
1. If there is a difference, it may be safer to truncate the whole cache with `graphman chain truncate <CHAIN>`.
1. Digite `graphman chain list` para buscar o nome da chain.
2. `graphman chain check-blocks <CHAIN> by-number <NUMBER>` verificará se o bloco no cache corresponde ao provedor; se não for o caso, o bloco será apagado do cache.
1. Se houver uma diferença, pode ser mais seguro truncar o cache inteiro com `graphman chain truncate <CHAIN>`.
2. Caso o bloco corresponda ao provedor, então o problema pode ser debugado em frente ao provedor.

#### Erros e problemas de query
@@ -312,34 +312,34 @@ Não há uma "bala de prata", mas sim uma gama de ferramentas para prevenir, dia

##### Caching de query

Graph Node caches GraphQL queries by default, which can significantly reduce database load. This can be further configured with the `GRAPH_QUERY_CACHE_BLOCKS` and `GRAPH_QUERY_CACHE_MAX_MEM` settings - read more [here](https://github.com/graphprotocol/graph-node/blob/master/docs/environment-variables.md#graphql-caching).
O Graph Node naturalmente cacheia queries no GraphQL, o que pode reduzir muito a carga no banco de dados. Isto pode ser configurado mais profundamente com `GRAPH_QUERY_CACHE_BLOCKS` e `GRAPH_QUERY_CACHE_MAX_MEM` — leia mais [aqui](https://github.com/graphprotocol/graph-node/blob/master/docs/environment-variables.md#graphql-caching).

##### Análise de queries

Queries problemáticos tendem a surgir em uma de duas maneiras. Em alguns casos, os próprios utilizadores relatam que um certo query está lento; neste caso, o desafio é diagnosticar a razão para a lentidão, seja um problema geral ou específico àquele subgraph ou query. E depois, claro, resolvê-lo se possível.

Em outros casos, o gatilho pode ser o excesso de uso de memória em um node de query; no caso, o primeiro desafio é identificar a consulta que causou este problema.

Indexers can use [qlog](https://github.com/graphprotocol/qlog/) to process and summarize Graph Node's query logs. `GRAPH_LOG_QUERY_TIMING` can also be enabled to help identify and debug slow queries.
Os indexadores podem processar e resumir os logs de consulta do Graph Node com o comando [qlog](https://github.com/graphprotocol/qlog/). Ativar `GRAPH_LOG_QUERY_TIMING` também ajuda a identificar e debugar consultas lentas.

Considerando um query lento, os indexadores têm algumas opções. Claro que podem alterar o seu modelo de custo, para aumentar o custo de enviar o query problemático. A frequência dessa query pode diminuir, mas isto não costuma resolver a raiz do problema.

##### Otimização tipo-conta

Tábuas de base de dados que armazenam entidades geralmente vêm em duas variedades: 'tipo-transação', em que as entidades nunca são atualizadas depois da criação (por ex., armazenam algo como uma lista de transações financeiras); e 'tipo-conta', em que as entidades atualizam com frequência (ex.: armazenam algo como contas financeiras, que são modificadas sempre que uma transação é gravada). Tábuas tipo-contas são caracterizadas por ter muitas versões de entidade, mas poucas entidades distintas. O número de entidades distintas nessas tábuas costuma ser 1% do total de linhas (versões de entidade)

For account-like tables, `graph-node` can generate queries that take advantage of details of how Postgres ends up storing data with such a high rate of change, namely that all of the versions for recent blocks are in a small subsection of the overall storage for such a table.
Para tábuas tipo-conta, o `graph-node` pode gerar consultas que aproveitam detalhes de como o Postgres armazena dados tão frequentemente alterados — em particular, que todas as versões para blocos recentes estão numa pequena subsecção do armazenamento total para uma tábua do tipo.

The command `graphman stats show <sgdNNNN`> shows, for each entity type/table in a deployment, how many distinct entities, and how many entity versions each table contains. That data is based on Postgres-internal estimates, and is therefore necessarily imprecise, and can be off by an order of magnitude. A `-1` in the `entities` column means that Postgres believes that all rows contain a distinct entity.
O comando `graphman stats show <sgdNNNN`> mostra, para cada tipo/tábua de entidade em um lançamento, quantas entidades distintas e versões de entidades estão em cada tábua. Esses dados são baseados em estimativas internas do Postgres e são necessariamente imprecisos, com uma grande margem de erro. Um `-1` na coluna `entities` significa que o Postgres acredita que todas as linhas contém uma entidade distinta.

In general, tables where the number of distinct entities are less than 1% of the total number of rows/entity versions are good candidates for the account-like optimization. When the output of `graphman stats show` indicates that a table might benefit from this optimization, running `graphman stats show <sgdNNN> <table>` will perform a full count of the table - that can be slow, but gives a precise measure of the ratio of distinct entities to overall entity versions.
Em geral, tábuas em que o número de entidades distintas é menos de 1% do total de linhas/versões de entidade são boas candidatas para a otimização tipo-conta. Quando o resultado do `graphman stats show` indica que uma tábua pode se beneficiar desta otimização, ativar o `graphman stats show <sgdNNN> <table>` fará uma contagem completa da tábua - que pode ser lenta, mas dá uma medida precisa da proporção entre entidades distintas e total de versões.

Once a table has been determined to be account-like, running `graphman stats account-like <sgdNNN>.<table>` will turn on the account-like optimization for queries against that table. The optimization can be turned off again with `graphman stats account-like --clear <sgdNNN>.<table>` It takes up to 5 minutes for query nodes to notice that the optimization has been turned on or off. After turning the optimization on, it is necessary to verify that the change does not in fact make queries slower for that table. If you have configured Grafana to monitor Postgres, slow queries would show up in `pg_stat_activity`in large numbers, taking several seconds. In that case, the optimization needs to be turned off again.
Quando uma tábua for determinada como "tipo-conta", executar o `graphman stats account-like <sgdNNN>.<table>` ativará a otimização tipo-conta para queries frente àquela tábua. A otimização pode ser desativada novamente com `graphman stats account-like --clear <sgdNNN>.<table>`. Os nodes de consulta levam até 5 minutos para perceber que a otimização foi ligada ou desligada. Após ativar a otimização, verifique se a mudança não desacelera os queries para aquela tábua. Caso tenha configurado o Grafana para monitorar o Postgres, muitos queries lentos podem aparecer no `pg_stat_activity`, com demora de vários segundos. Neste caso, a otimização precisa ser desativada novamente.

For Uniswap-like subgraphs, the `pair` and `token` tables are prime candidates for this optimization, and can have a dramatic effect on database load.
Para subgraphs parecidos com o Uniswap, as tábuas `pair` e `token` são ótimas para esta otimização, e podem ter efeitos surpreendentes na carga do banco de dados.

#### Como remover subgraphs

> Esta é uma funcionalidade nova, que estará disponível no Graph Node 0.29.x
At some point an indexer might want to remove a given subgraph. This can be easily done via `graphman drop`, which deletes a deployment and all it's indexed data. The deployment can be specified as either a subgraph name, an IPFS hash `Qm..`, or the database namespace `sgdNNN`. Further documentation is available [here](https://github.com/graphprotocol/graph-node/blob/master/docs/graphman.md#-drop).
Em certo ponto, o indexador pode querer remover um subgraph. É só usar o `graphman drop`, que apaga um lançamento e todos os seus dados indexados. O lançamento pode ser especificado como o nome de um subgraph, um hash IPFS `Qm..`, ou o namespace de banco de dados `sgdNNN`. Mais documentos sobre o processo [aqui](https://github.com/graphprotocol/graph-node/blob/master/docs/graphman.md#-drop).