Skip to content

Commit

Permalink
Clarify internal ports and add IP_CHECK_INTERVAL (Layr-Labs#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mooselumph authored Nov 14, 2023
1 parent e29c11d commit 87050a2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ NODE_CACHE_ENCODED_BLOBS=true
NODE_NUM_WORKERS=1
NODE_SRS_ORDER=524288
NODE_DISPERSAL_PORT=32005
NODE_INTERNAL_DISPERSAL_PORT=${NODE_DISPERSAL_PORT}
NODE_QUORUM_ID_LIST=0
NODE_VERBOSE=true
NODE_RETRIEVAL_PORT=32004
NODE_INTERNAL_RETRIEVAL_PORT=${NODE_RETRIEVAL_PORT}
NODE_TIMEOUT=20s
NODE_ENABLE_NODE_API=true

# If you are using a reverse proxy in a shared network space, the reverse proxy should listen at $NODE_DISPERSAL_PORT
# and forward the traffic to $NODE_INTERNAL_DISPERSAL_PORT, and similarly for retrieval. The DA node will register the
# $NODE_DISPERSAL_PORT port on the chain and listen for the reverse proxy at $NODE_INTERNAL_DISPERSAL_PORT.
NODE_INTERNAL_DISPERSAL_PORT=${NODE_DISPERSAL_PORT}
NODE_INTERNAL_RETRIEVAL_PORT=${NODE_RETRIEVAL_PORT}

# EigenDA mounted locations
NODE_ECDSA_KEY_FILE=/app/operator_keys/ecdsa_key.json
NODE_BLS_KEY_FILE=/app/operator_keys/bls_key.json
Expand Down Expand Up @@ -48,6 +52,9 @@ NODE_CHURNER_URL=churner-goerli.eigenda.xyz:443
# If set to empty string, the IP address will be taken from the connection.
# The rightmost value of the header will be used.
NODE_CLIENT_IP_HEADER=x-real-ip
# How often to check the public IP address of the node. Set this to 0 to disable
# automatic IP address updating (if you have a stable IP address)
PUBLIC_IP_CHECK_INTERVAL=10s

# goerli testnet disperser ip
NAT_GATEWAY_IP=3.221.120.68
Expand Down

0 comments on commit 87050a2

Please sign in to comment.