-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into develop
- Loading branch information
Showing
16 changed files
with
836 additions
and
347 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
gcp_project_id = "your-gcp-project-id" | ||
gcp_region = "asia-east1" | ||
gcp_zone = "asia-east1-a" | ||
parent_chain_rpc_url = "your-ethereum-rpc-url" | ||
bucket_name = "bucket-name" | ||
eth_rpc_url = "https://eth.public-rpc.com" |
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,19 @@ | ||
# XAI Public Node | ||
|
||
The XAI public node should functions as a backup for posting the assertions to a public CDN | ||
|
||
The XAI Mainnet node needs a Arb1 Node to sync from. THis can either be a public / third party RPC or a Arb1 Nitro node | ||
|
||
In this setup we run a Arb1 Nitro node and use its RPC for the XAI mainnet node. | ||
Since the XAI mainnet node can only sync from a already synced Arb1 node, we use a public RPC until the Arb1 Node is fully synced. | ||
|
||
Make sure the ENV variables are set either on the machine or by providing a .env file in the dir where the docker-compose.yml is stored (/opt/node/build) | ||
|
||
An example of the needed variables is in example.env | ||
|
||
|
||
## Important notice | ||
|
||
Stop the containers gently by using a delay | ||
|
||
- `docker stop --time=300 $(docker ps -aq)` |
Oops, something went wrong.