Skip to content
Merged
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
2 changes: 1 addition & 1 deletion docs/rpc-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Edit `.env` and set:

| Variable | What to set |
| --------------- | ----------------------------------------------------------------------------- |
| `RPC_NAME` | Identifiable name shown in telemetry (e.g. `Orbinum-RPC-1`). |
| `RPC_NAME` | Required. Identifiable name shown in telemetry (e.g. `Orbinum-RPC-1`). |
| `RPC_NODE_KEY` | This node's libp2p key — generate with `openssl rand -hex 32`. |
| `RPC_DOMAIN` | Public domain with a DNS A record pointing to this VPS's public IP. |
| `TELEMETRY_URL` | On by default; set empty to opt out. See [Telemetry](../README.md#telemetry). |
Expand Down
5 changes: 3 additions & 2 deletions mainnet/rpc/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@

ORBINUM_IMAGE=ghcr.io/orbinum/node:mainnet-latest

# Shown in telemetry. Use rpc-1 / rpc-2 / ... per node.
RPC_NAME=Orbinum-RPC-1
# Required. The name telemetry shows for this node — one per node, e.g.
# rpc-1 / rpc-2. The node does not start without it.
RPC_NAME=

# libp2p node-key, hex 64 chars — unique per node.
# openssl rand -hex 32
Expand Down
2 changes: 1 addition & 1 deletion mainnet/rpc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
- 1.1.1.1
command: >
--chain /chain-specs/mainnet-spec.json
--name "${RPC_NAME:-Orbinum-RPC}"
--name "${RPC_NAME:?set RPC_NAME in .env, the name telemetry shows for this node}"
--base-path /data
--listen-addr /ip4/0.0.0.0/tcp/${P2P_PORT:-30333}
--node-key ${RPC_NODE_KEY}
Expand Down
5 changes: 3 additions & 2 deletions mainnet/validator/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

ORBINUM_IMAGE=ghcr.io/orbinum/node:mainnet-latest

# Shown in telemetry. Pick something identifiable.
VALIDATOR_NAME=Choose-Your-Validator-Name
# Required. The name telemetry shows for this node — pick something
# identifiable. The node does not start without it.
VALIDATOR_NAME=

# libp2p node-key, hex 64 chars — unique per node.
# openssl rand -hex 32
Expand Down
2 changes: 1 addition & 1 deletion mainnet/validator/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- 1.1.1.1
command: >
--chain /chain-specs/mainnet-spec.json
--name "${VALIDATOR_NAME:-Orbinum-Validator}"
--name "${VALIDATOR_NAME:?set VALIDATOR_NAME in .env, the name telemetry shows for this node}"
--base-path /data
${SYNC_MODE}
--listen-addr /ip4/0.0.0.0/tcp/${P2P_PORT:-30333}
Expand Down
4 changes: 3 additions & 1 deletion testnet/indexer-rpc/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

ORBINUM_IMAGE=ghcr.io/orbinum/node:testnet-latest

RPC_NAME=Orbinum-Indexer-RPC
# Required. The name telemetry shows for this node — one per node, e.g.
# rpc-1 / rpc-2. The node does not start without it.
RPC_NAME=

# libp2p node-key, hex 64 chars — unique per node.
# openssl rand -hex 32
Expand Down
2 changes: 1 addition & 1 deletion testnet/indexer-rpc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- 1.1.1.1
command: >
--chain /chain-specs/testnet-spec.json
--name "${RPC_NAME:-Orbinum-Indexer-RPC}"
--name "${RPC_NAME:?set RPC_NAME in .env, the name telemetry shows for this node}"
--base-path /data
--listen-addr /ip4/${P2P_BIND:-0.0.0.0}/tcp/${P2P_PORT:-30333}
--node-key ${RPC_NODE_KEY}
Expand Down
5 changes: 3 additions & 2 deletions testnet/rpc/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ COMPOSE_PROJECT_NAME=testnet

ORBINUM_IMAGE=ghcr.io/orbinum/node:testnet-latest

# Shown in telemetry. Use rpc-1 / rpc-2 / ... per node.
RPC_NAME=Orbinum-RPC-1
# Required. The name telemetry shows for this node — one per node, e.g.
# rpc-1 / rpc-2. The node does not start without it.
RPC_NAME=

# libp2p node-key, hex 64 chars — unique per node.
# openssl rand -hex 32
Expand Down
2 changes: 1 addition & 1 deletion testnet/rpc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- 1.1.1.1
command: >
--chain /chain-specs/testnet-spec.json
--name "${RPC_NAME:-Orbinum-RPC}"
--name "${RPC_NAME:?set RPC_NAME in .env, the name telemetry shows for this node}"
--base-path /data
--listen-addr /ip4/0.0.0.0/tcp/${P2P_PORT:-30333}
--node-key ${RPC_NODE_KEY}
Expand Down
5 changes: 3 additions & 2 deletions testnet/validator/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

ORBINUM_IMAGE=ghcr.io/orbinum/node:testnet-latest

# Shown in telemetry. Pick something identifiable.
VALIDATOR_NAME=Choose-Your-Validator-Name
# Required. The name telemetry shows for this node — pick something
# identifiable. The node does not start without it.
VALIDATOR_NAME=

# libp2p node-key, hex 64 chars — unique per node.
# openssl rand -hex 32
Expand Down
2 changes: 1 addition & 1 deletion testnet/validator/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- 1.1.1.1
command: >
--chain /chain-specs/testnet-spec.json
--name "${VALIDATOR_NAME:-Orbinum-Validator}"
--name "${VALIDATOR_NAME:?set VALIDATOR_NAME in .env, the name telemetry shows for this node}"
--base-path /data
${SYNC_MODE}
--listen-addr /ip4/0.0.0.0/tcp/${P2P_PORT:-30333}
Expand Down
Loading