Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

feat: add static peers to erigon #110

Merged
merged 4 commits into from
Sep 6, 2023
Merged
Changes from 1 commit
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
3 changes: 1 addition & 2 deletions src/el/erigon/erigon_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ def get_config(
"--ws",
"--allow-insecure-unlock",
"--nat=extip:" + PRIVATE_IP_ADDRESS_PLACEHOLDER,
"--nodiscover",
"--staticpeers={0}".format(boot_node_1.enode),
"--http",
"--http.addr=0.0.0.0",
"--http.corsdomain=*",
Expand All @@ -150,6 +148,7 @@ def get_config(

if len(existing_el_clients) > 0:
cmd.append("--bootnodes=" + ",".join([ctx.enode for ctx in existing_el_clients[:package_io.MAX_ENODE_ENTRIES]]))
cmd.append("--staticpeers=" + ",".join([ctx.enode for ctx in existing_el_clients[:package_io.MAX_ENODE_ENTRIES]]))
barnabasbusa marked this conversation as resolved.
Show resolved Hide resolved


if len(extra_params) > 0:
Expand Down
Loading