Skip to content

Commit

Permalink
[config] add seeds to fullnode config
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry-x authored and aptos-bot committed Mar 18, 2022
1 parent 429da28 commit 63c2010
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/src/config/test_data/public_full_node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ full_node_networks:
# prevent remote, incoming connections.
listen_address: "/ip4/127.0.0.1/tcp/6180"
network_id: "public"
# Define the upstream peers to connect to
seeds:
{}

json_rpc:
# This specifies your JSON-RPC endpoint. This runs locally to prevent remote queries, setting
# it to 0.0.0.0:8080 would open it to all remote connections that can connect to that computer.
address: 127.0.0.1:8080

api:
enabled: true
address: 127.0.0.1:8080
3 changes: 3 additions & 0 deletions docker/compose/public_full_node/public_full_node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ full_node_networks:
# The network must have a listen address to specify protocols. This runs it locally to
# prevent remote, incoming connections.
listen_address: "/ip4/127.0.0.1/tcp/6180"
# Define the upstream peers to connect to
seeds:
{}

api:
# This specifies your REST API endpoint. Intentionally on public so that Docker can export it.
Expand Down

0 comments on commit 63c2010

Please sign in to comment.