-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/ar-io/ar-io-node into de…
…velop
- Loading branch information
Showing
10 changed files
with
117 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Starting block height for node synchronization (0 = start from the beginning) | ||
# START_HEIGHT=0 | ||
|
||
# Stop block height for node synchronization (Infinity = keep syncing until stopped) | ||
# STOP_HEIGHT="Infinity" | ||
|
||
# Arweave node to use for fetching data | ||
# TRUSTED_NODE_URL="https://arweave.net" | ||
|
||
# Arweave node to use for proxying requests | ||
# TRUSTED_GATEWAY_URL="https://arweave.net" | ||
|
||
# ArNS gateway | ||
# TRUSTED_ARNS_GATEWAY_URL="https://__NAME__.arweave.dev" | ||
|
||
# If true, skips the local cache and always fetches headers from the node | ||
# SKIP_CACHE=false | ||
|
||
# Adds an "INSTANCE_ID" field to output logs | ||
# INSTANCE_ID="" | ||
|
||
# Sets the format of output logs, accepts "simple" and "json" | ||
# LOG_FORMAT="simple" | ||
|
||
# AR.IO node exposed port number | ||
# PORT=4000 | ||
|
||
# Number from 0 to 1, representing the probability of a request failing | ||
# SIMULATED_REQUEST_FAILURE_RATE=0 | ||
|
||
# Arweave wallet address used for staking and rewards | ||
# AR_IO_WALLET="" | ||
|
||
# Admin key used for accessing the admin API | ||
# ADMIN_API_KEY="secret" | ||
|
||
# If true, ar.io node will start indexing missing bundles | ||
# BACKFILL_BUNDLE_RECORDS=false | ||
|
||
# If true, all indexed bundles will be reprocessed with the new filters (you can use this when you change the filters) | ||
# FILTER_CHANGE_REPROCESS=false | ||
|
||
# Only bundles compliant with this filter will be unbundled | ||
# ANS104_UNBUNDLE_FILTER={"never": true} | ||
|
||
# Only bundles compliant with this filter will be indexed | ||
# ANS104_INDEX_FILTER={"never": true} | ||
|
||
# Root host for ArNS | ||
# ARNS_ROOT_HOST="" | ||
|
||
# Protocol setting in process of creating sandbox domain in ArNS (ARNS_ROOT_HOST needs to be set for this env to have any effect) | ||
# SANDBOX_PROTOCOL="" | ||
|
||
# If true, start indexing blocks, tx, ANS104 bundles | ||
# START_WRITERS=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,8 @@ test-results.json | |
/.vscode | ||
.DS_Store | ||
|
||
# JetBrains | ||
/.idea | ||
|
||
# Exceptions | ||
!/data/.gitkeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# ENVs | ||
This document describes the environment variables that can be used to configure the `ar.io` node. | ||
|
||
| ENV_NAME | TYPE | DEFAULT_VALUE | DESCRIPTION | | ||
|--------------------------------|----------------------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------| | ||
| START_HEIGHT | Number or "Infinity" | 0 | Starting block height for node synchronization (0 = start from the beginning) | | ||
| STOP_HEIGHT | Number or "Infinity" | "Infinity" | Stop block height for node synchronization (Infinity = keep syncing until stopped) | | ||
| TRUSTED_NODE_URL | String | "https://arweave.net" | Arweave node to use for fetching data | | ||
| TRUSTED_GATEWAY_URL | String | "https://arweave.net" | Arweave node to use for proxying requests | | ||
| TRUSTED_ARNS_GATEWAY_URL | String | "https://__NAME__.arweave.dev" | ArNS gateway | | ||
| INSTANCE_ID | String | "" | Adds an "INSTACE_ID" field to output logs | | ||
| LOG_FORMAT | String | "simple" | Sets the format of output logs, accepts "simple" and "json" | | ||
| SKIP_CACHE | Boolean | false | If true, skips the local cache and always fetches headers from the node | | ||
| PORT | Number | 4000 | AR.IO node exposed port number | | ||
| SIMULATED_REQUEST_FAILURE_RATE | Number | 0 | Number from 0 to 1, representing the probability of a request failing | | ||
| AR_IO_WALLET | String | "" | Arweave wallet address used for staking and rewards | | ||
| ADMIN_API_KEY | String | Generated | API key used for admin API requests (if not set, it's generated and logged into the console) | | ||
| BACKFILL_BUNDLE_RECORDS | Boolean | false | If true, ar.io node will start indexing missing bundles | | ||
| FILTER_CHANGE_REPROCESS | Boolean | false | If true, all indexed bundles will be reprocessed with the new filters (you can use this when you change the filters) | | ||
| ANS104_UNBUNDLE_FILTER | String | '{"never": true}' | Only bundles compliant with this filter will be unbundled | | ||
| ANS104_INDEX_FILTER | String | '{"never": true}' | Only bundles compliant with this filter will be indexed | | ||
| ARNS_ROOT_HOST | String | undefined | Domain name for ArNS host | | ||
| SANDBOX_PROTOCOL | String | undefined | Protocol setting in process of creating sandbox domain in ArNS (ARNS_ROOT_HOST needs to be set for this env to have any effect) | | ||
| START_WRITERS | Boolean | true | If true, start indexing blocks, tx, ANS104 bundles | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters