Skip to content

Commit

Permalink
generate seed peers for vfn as well
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Nov 14, 2023
1 parent 6bb7282 commit a09e130
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/config/src/config_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl ConfigCli {
let p = if *vfn {
// no need for seed peers, will be identified
// to validator node
init_fullnode_yaml(home_path.to_owned(), false, true).await?
init_fullnode_yaml(home_path.to_owned(), true, true).await?
} else {
// we want seed peers, and will not have an identity
init_fullnode_yaml(home_path.to_owned(), true, false).await?
Expand Down
6 changes: 5 additions & 1 deletion tools/config/src/make_yaml_public_fullnode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,13 @@ state_sync:
full_node_networks:
- network_id: 'public'
listen_address: '/ip4/0.0.0.0/tcp/6182'
identity:
type: 'from_file'
path: {path}/validator-full-node-identity.yaml
- network_id:
private: 'vfn'
#mutual_authentication: true
# mutual_authentication: true
listen_address: '/ip4/0.0.0.0/tcp/6181'
identity:
type: 'from_file'
Expand Down

0 comments on commit a09e130

Please sign in to comment.