Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 1 addition & 4 deletions setup/env-variables/backend-env-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
| `HACKNEY_DEFAULT_POOL_SIZE` | Size of `default` hackney pool. Implemented in [#12406](https://github.com/blockscout/blockscout/pull/12406). | Version: v8.1.0\+ <br />Default: `1000` <br />Applications: API, Indexer |
| `UNIVERSAL_PROXY_CONFIG_URL` | Config URL for universal proxy. Implemented in [#12442](https://github.com/blockscout/blockscout/pull/12442). | Version: v8.1.0\+ <br />Default: `https://raw.githubusercontent.com/blockscout/backend-configs/refs/heads/main/universal-proxy-config.json` <br />Applications: API |
| `UNIVERSAL_PROXY_CONFIG` | JSON-encoded configuration string used to define settings for the universal proxy. Implemented in [#13787](https://github.com/blockscout/blockscout/pull/13787). | Version: v10.0.0\+ <br />Default: (empty) <br />Applications: API |
| `K8S_SERVICE` | Kubernetes service name for Elixir nodes clusterization, more info on how to configure it can be found here https://hexdocs.pm/libcluster/Cluster.Strategy.Kubernetes.DNS.html. Implemented in [#13080](https://github.com/blockscout/blockscout/pull/13080). | Version: v9.2.0\+ <br />Default: (empty) <br />Applications: API, Indexer |

Check warning on line 142 in setup/env-variables/backend-env-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (blockscout) - vale-spellcheck

setup/env-variables/backend-env-variables.mdx#L142

Did you really mean 'clusterization'?

## Database Management

Expand Down Expand Up @@ -349,9 +349,6 @@
| `MIGRATION_TOKEN_INSTANCE_ERC_1155_SANITIZE_BATCH_SIZE` | Batch size for `erc-1155-sanitize` token instance fetcher. Implemented in [#9226](https://github.com/blockscout/blockscout/pull/9226). Default value and name changed in [#11543](https://github.com/blockscout/blockscout/pull/11543) | Version: v7.0.0\+ <br />Default: `500` <br />Applications: Indexer |
| `MIGRATION_TOKEN_INSTANCE_ERC_721_SANITIZE_BATCH_SIZE` | Batch size for `erc-721-sanitize` token instance fetcher. Implemented in [#9226](https://github.com/blockscout/blockscout/pull/9226). Default value and name changed in [#11543](https://github.com/blockscout/blockscout/pull/11543) | Version: v7.0.0\+ <br />Default: `50` <br />Applications: Indexer |
| `MIGRATION_TOKEN_INSTANCE_ERC_721_SANITIZE_TOKENS_BATCH_SIZE` | Tokens batch size for `erc-721-sanitize` token instance fetcher. Implemented in [#9226](https://github.com/blockscout/blockscout/pull/9226). Name changed in [#11543](https://github.com/blockscout/blockscout/pull/11543) | Version: v7.0.0\+ <br />Default: `100` <br />Applications: Indexer |
| `MIGRATION_SMART_CONTRACT_LANGUAGE_DISABLED` | If set to `true`, the migration to the `language` field in the `smart_contracts` table will not start. If set to `false`, the migration proceeds as normal. Implemented in [#11813](https://github.com/blockscout/blockscout/pull/11813). | Version: v8.0.0\+ <br />Default: `false` <br />Applications: Indexer |
| `MIGRATION_SMART_CONTRACT_LANGUAGE_BATCH_SIZE` | Defines the number of records to be processed in each batch when migrating the `language` field in the `smart_contracts` table. Implemented in [#11813](https://github.com/blockscout/blockscout/pull/11813). | Version: v8.0.0\+ <br />Default: `100` <br />Applications: Indexer |
| `MIGRATION_SMART_CONTRACT_LANGUAGE_CONCURRENCY` | Specifies how many concurrent processes can handle the `language` field migration. Implemented in [#11813](https://github.com/blockscout/blockscout/pull/11813). | Version: v8.0.0\+ <br />Default: `1` <br />Applications: Indexer |
| `MIGRATION_BACKFILL_METADATA_URL_DISABLED` | If set to `true`, the backfiller of `metadata_url` field in the `token_instances` table will not start. If set to `false`, the migration proceeds as normal. Implemented in [#12102](https://github.com/blockscout/blockscout/pull/12102). | Version: v8.0.0\+ <br />Default: `false` <br />Applications: Indexer |
| `MIGRATION_BACKFILL_METADATA_URL_BATCH_SIZE` | Defines the number of records to be processed in each batch when backfilling the `metadata_url` field in the `token_instances` table. Implemented in [#12102](https://github.com/blockscout/blockscout/pull/12102). | Version: v8.0.0\+ <br />Default: `100` <br />Applications: Indexer |
| `MIGRATION_BACKFILL_METADATA_URL_CONCURRENCY` | Specifies how many concurrent processes can handle the `metadata_url` field backfilling. Implemented in [#12102](https://github.com/blockscout/blockscout/pull/12102). | Version: v8.0.0\+ <br />Default: `5` <br />Applications: Indexer |
Expand Down Expand Up @@ -722,4 +719,4 @@
| `FOOTER_TELEGRAM_LINK` | Link in Telegram menu item in the footer. Implemented in [#7345](https://github.com/blockscout/blockscout/pull/7345). | Version: v5.1.4\+ <br />Default: (empty) <br />Applications: API |
| `FOOTER_GITHUB_LINK` | Github repository. Implemented in [#5719](https://github.com/blockscout/blockscout/pull/5719). | Version: v4.1.6\+ <br />Default: `https://github.com/blockscout/blockscout` <br />Applications: API |
| `FOOTER_LINK_TO_OTHER_EXPLORERS` | true/false. If true, links to other explorers are added in the footer. | Version: v5.1.3\+ <br />Default: (empty) <br />Applications: API |
| `FOOTER_OTHER_EXPLORERS` | The list of alternative explorers.
| `FOOTER_OTHER_EXPLORERS` | The list of alternative explorers.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@
| `TOKEN_ID_MIGRATION_FIRST_BLOCK` | | Bottom block for token id migration. Implemented in [#6391](https://github.com/blockscout/blockscout/pull/6391) | 0 | v5.0.0+ | | API, Indexer |
| `TOKEN_ID_MIGRATION_CONCURRENCY` | | Number of workers performing the token id migration. Implemented in [#6391](https://github.com/blockscout/blockscout/pull/6391) | 1 | v5.0.0+ | | API, Indexer |
| `TOKEN_ID_MIGRATION_BATCH_SIZE` | | Interval of token transfer block numbers processed by a token id migration worker at a time. Implemented in [#6391](https://github.com/blockscout/blockscout/pull/6391) | 500 | v5.0.0+ | | API, Indexer |
| `ADDRESSES_TABS_COUNTERS_TTL` | | TTL for cached tabs counters (works only for counters which are \< 51, if counter >= 51, then ttl == :infinity). Implemented in [#8512](https://github.com/blockscout/blockscout/pull/8512) | `10m` | v5.3.0+ | | API |
| `MIGRATION_SMART_CONTRACT_LANGUAGE_DISABLED` | | If set to `true`, the migration to the `language` field in the `smart_contracts` table will not start. If set to `false`, the migration proceeds as normal. Implemented in [#11813](https://github.com/blockscout/blockscout/pull/11813). | `false` | v8.0.0+ | | Indexer |
| `MIGRATION_SMART_CONTRACT_LANGUAGE_BATCH_SIZE` | | Defines the number of records to be processed in each batch when migrating the `language` field in the `smart_contracts` table. Implemented in [#11813](https://github.com/blockscout/blockscout/pull/11813). | 100 | v8.0.0+ | | Indexer |
| `MIGRATION_SMART_CONTRACT_LANGUAGE_CONCURRENCY` | | Specifies how many concurrent processes can handle the `language` field migration. Implemented in [#11813](https://github.com/blockscout/blockscout/pull/11813). | 1 | v8.0.0+ | | Indexer |
| `ADDRESSES_TABS_COUNTERS_TTL` | | TTL for cached tabs counters (works only for counters which are \< 51, if counter \>= 51, then ttl == :infinity). Implemented in [#8512](https://github.com/blockscout/blockscout/pull/8512) | `10m` | v5.3.0+ | | API |
| `API_INTERNAL_TRANSACTIONS_INDEXING_FINISHED_THRESHOLD` | | In the case when the 1st tx in the chain already has internal transactions, If the number of blocks in pending\_block\_operations is less than the value in this env var, Blockscout will consider, that indexing of internal transactions finished, otherwise, it will consider, that indexing is still taking place and the indexing banner will appear at the top. Implemented in [#7576](https://github.com/blockscout/blockscout/pull/7576). | 1000 | v5.2.0+ | | API |
| `DATABASE_EVENT_URL` | | Variable to define the Postgres Database endpoint that will be used by event listener process. Applicable for separate indexer and API setup. More info in related PR. Implemented in [#10164](https://github.com/blockscout/blockscout/pull/10164). | (empty) | v6.7.0+ | | API |

Expand All @@ -213,7 +216,7 @@
| `TRACE_FIRST_BLOCK` | | The block number, where indexing of internal transactions begins from. | 0 | v4.1.0+ | API, Indexer |
| `TRACE_LAST_BLOCK` | | The block number, where indexing of internal transactions stops. | (empty) | v4.1.0+ | API, Indexer |
| `BLOCK_RANGES` | | Block ranges to import by catchup fetcher. Example: `BLOCK_RANGES="1..3,123..500,30..50,500..latest"`. Implemented in [#5783](https://github.com/blockscout/blockscout/pull/5783) | | v4.1.7+ | Indexer |
| `FETCH_REWARDS_WAY` | | Tells the application how to calculate block rewards, by fetching via json\_rpc (`trace_block`) or manual by block params (`manual`). | trace\_block | v4.1.4+ | Indexer |

Check warning on line 219 in setup/env-variables/deprecated-env-variables/env-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (blockscout) - vale-spellcheck

setup/env-variables/deprecated-env-variables/env-variables.mdx#L219

Did you really mean 'trace_block'?
| `IPFS_GATEWAY_URL` | | IPFS gateway url for fetching token instances metadata from IPFS including token instance icon. | https\://ipfs.io/ipfs | v5.3.0+ | Indexer |
| `IPFS_GATEWAY_URL_PARAM_KEY` | | The key of the parameter to add to IPFS gateway url. Implemented in [#9898](https://github.com/blockscout/blockscout/pull/9898). | (empty)) | v6.5.0+ | Indexer |
| `IPFS_GATEWAY_URL_PARAM_VALUE` | | The value of the parameter to add to IPFS gateway url. Implemented in [#9898](https://github.com/blockscout/blockscout/pull/9898). | (empty)) | v6.5.0+ | Indexer |
Expand Down Expand Up @@ -562,7 +565,7 @@
| `CONTRACT_VERIFICATION_MAX_LIBRARIES` | | Max amount of libraries to consider in smart-contract verification from flat/multi-part file(s). Implemented in [#6204](https://github.com/blockscout/blockscout/pull/6204). | (empty) | v5.0.0+ | API |
| `CONTRACT_MAX_STRING_LENGTH_WITHOUT_TRIMMING` | | Hide long contract method data. For more details: [#4667](https://github.com/blockscout/blockscout/pull/4667) | 2040 | v4.0.0+ | API |
| `CONTRACT_DISABLE_INTERACTION` | | If `true`, contract interactions via "Write contract" or "Write proxy contract" tabs are disabled. Introduced in [#7088](https://github.com/blockscout/blockscout/pull/7088). | (empty) | v5.1.2+ | API |
| `CONTRACT_PROXY_IMPLEMENTATION_TTL_VIA_AVG_BLOCK_TIME` | | If `false`, proxy contract implementation will be re-fetched immediately once someone opend proxy page bypassing average block time calculation. Implemented in [#9155](https://github.com/blockscout/blockscout/pull/9155). | true | v6.1.0+ | API |

Check warning on line 568 in setup/env-variables/deprecated-env-variables/env-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (blockscout) - vale-spellcheck

setup/env-variables/deprecated-env-variables/env-variables.mdx#L568

Did you really mean 'opend'?
| `CONTRACT_AUDIT_REPORTS_AIRTABLE_URL` | | URL of AirTable to store audit reports from users. Implemented in [#9120](https://github.com/blockscout/blockscout/pull/9120) | (empty) | v6.1.0+ | API |
| `CONTRACT_AUDIT_REPORTS_AIRTABLE_API_KEY` | | Access token for `CONTRACT_AUDIT_REPORTS_AIRTABLE_URL`. Implemented in [#9120](https://github.com/blockscout/blockscout/pull/9120) | (empty) | v6.1.0+ | API |
| `CONTRACT_CERTIFIED_LIST` | | Comma-separated list of smart-contract addresses hashes, to which "certified" flag should be applied. Implemented in [#9910](https://github.com/blockscout/blockscout/pull/9910) | (empty) | v6.5.0+ | API |
Expand Down Expand Up @@ -791,4 +794,3 @@
| `MUD_DATABASE_URL` | | MUD indexer DB connection URL. | value from `DATABASE_URL` | v6.6.0+ | API |
| `MUD_POOL_SIZE` | | MUD indexer DB `pool_size` | 50 | v6.6.0+ | API |