Skip to content
Draft
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
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,17 +284,14 @@ waiting for validator 8CGJYaRLChC79CCRnvd7sh5eB9E9L9dVF to start validating GBEw
```
</details>

Launch validator. When running `avalanchego`, add

* `-—http-host=0.0.0.0`: Make MetaMask can access the RPC URL
* `--http-allowed-hosts="*"`: Allow traffic from the RPC node (since v1.10.3)
Launch validator. When running `avalanchego`, use `--http-host=127.0.0.1` (default) to restrict the RPC to localhost, and expose it externally via a reverse proxy such as nginx. If direct external access is required, set `--http-host=0.0.0.0` and restrict `--http-allowed-hosts` to specific trusted domain names instead of using a wildcard, to preserve DNS rebinding protection (introduced in v1.10.3).

```sh
./avalanchego \
--track-subnets=81vK49Udih5qmEzU7opx3Zg9AnB33F2oqUTQKuaoWgCvFUWQe\
--network-id=fuji \
--http-host=0.0.0.0 \
--http-allowed-hosts="*" \
--http-host=127.0.0.1 \
--http-allowed-hosts="<your-rpc-domain.example.com>" \
--public-ip=<node-public-ip>
```

Expand Down Expand Up @@ -342,7 +339,7 @@ Before validation staking expires, any wallet can not stake to a validator again

Validator version distributions: [mainnet](https://explorer-xp.avax.network/validators), [testnet](https://explorer-xp.avax-test.network/validators)

[Renew Numbers Validators](https://app.asana.com/0/1202305127727547/1202919355642524/f) (internal task)
Renew Numbers Validators (see internal task tracker)

## Import Existing L1 in Avalanche CLI

Expand Down Expand Up @@ -908,9 +905,9 @@ Make a Full Node instance to be an Archive Node instance:

./avalanchego \
--track-subnets=${SUBNET_MAINNET} \
--http-host=0.0.0.0 \
--http-host=127.0.0.1 \
--public-ip=<node-public-ip> \
--http-allowed-hosts="*"
--http-allowed-hosts="<your-rpc-domain.example.com>"
```

Run an archive node for testnet
Expand All @@ -923,9 +920,9 @@ Make a Full Node instance to be an Archive Node instance:

./avalanchego \
--track-subnets=${SUBNET_MAINNET} \
--http-host=0.0.0.0 \
--http-host=127.0.0.1 \
--public-ip=<node-public-ip> \
--http-allowed-hosts="*"
--http-allowed-hosts="<your-rpc-domain.example.com>"
```

1. (optional) Test an Archive Node
Expand Down
2 changes: 1 addition & 1 deletion genesis/genesis-nativecoin-feemgr-feerecv.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"chainId": 10508,
"chainId": 99999,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0",
Expand Down
2 changes: 1 addition & 1 deletion genesis/genesis-nativecoin-feemgr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"chainId": 10508,
"chainId": 99999,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0",
Expand Down
2 changes: 1 addition & 1 deletion genesis/genesis.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"chainId": 10508,
"chainId": 99999,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0",
Expand Down
2 changes: 1 addition & 1 deletion subnet-cli/subnet-cli-add-subnet-validator-mainnet.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Validator ID source: https://app.asana.com/0/1202305127727547/1202919355642524/f
# Validator ID source: see internal task tracker

NODE_ID="NodeID-BXTBUqX8gitUDtVam4fhRWGD1SfeHGoBx"
SUBNET_ID="2gHgAgyDHQv7jzFg6MxU2yyKq5NZBpwFLFeP8xX2E3gyK1SzSQ"
Expand Down
2 changes: 1 addition & 1 deletion subnet-cli/subnet-cli-add-subnet-validator-testnet.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Validator ID source: https://app.asana.com/0/1202305127727547/1202919355642524/f
# Validator ID source: see internal task tracker

NODE_ID="NodeID-A2Z8m7egVLhKf1Qj14uvXadhExM5zrB7p"
SUBNET_ID="81vK49Udih5qmEzU7opx3Zg9AnB33F2oqUTQKuaoWgCvFUWQe"
Expand Down
Loading