You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/flags.go
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -93,15 +93,20 @@ var (
93
93
Name: "no-discovery",
94
94
Usage: "Enable only local network p2p and do not connect to cloud bootstrap nodes",
95
95
}
96
-
// StaticPeers specifies a set of peers to connect to explicitly.
96
+
// StaticPeers specifies a set of peers to connect to explicitly, accepting following format of addresses:
97
+
// enode, multiaddr, enr.
97
98
StaticPeers=&cli.StringSliceFlag{
98
-
Name: "peer",
99
-
Usage: "Connect with this peer, this flag may be used multiple times. This peer is recognized as a trusted peer.",
99
+
Name: "peer",
100
+
Usage: "Connect with this peer, this flag may be used multiple times. "+
101
+
"This peer is recognized as a trusted peer."+
102
+
"Accepts enode, multiaddr, and enr formats.",
100
103
}
101
104
// BootstrapNode tells the beacon node which bootstrap node to connect to
102
105
BootstrapNode=&cli.StringSliceFlag{
103
-
Name: "bootstrap-node",
104
-
Usage: "The address of bootstrap node. Beacon node will connect for peer discovery via DHT. Multiple nodes can be passed by using the flag multiple times but not comma-separated. You can also pass YAML files containing multiple nodes.",
106
+
Name: "bootstrap-node",
107
+
Usage: "The enr/enode address of bootstrap node. Beacon node will connect for peer discovery via DHT. "+
108
+
"Multiple nodes can be passed by using the flag multiple times but not comma-separated. "+
109
+
"You can also pass YAML files containing multiple nodes.",
0 commit comments