iotaledger / one-click-tangle

"One Click Tangle" intends to make lives easier to IOTA adopters by providing pre-configured scripts and recipes that allow to deploy IOTA Networks and Nodes "in one click".
MIT License
55 stars 35 forks source link

Optional autopeering or static peering for Hornet mainnet #55

Closed peterokwara closed 2 years ago

peterokwara commented 3 years ago

Description

Allow to choose autopeering or static peering when deploying Hornet for mainnet

Motivation

At the moment only autopeering is supported when deploying Hornet for mainnet. It would be good to support both options autopeering and static peering

Requirements

Write a list of what you want this feature to do.

  1. Option to add static multiaddress when running the installation command.
  2. Able to connect to mainnet via autopeering (as it currently happens)

Open questions (optional)

Have the bash script modify the config.json or have a separate config.json for autopeering...

Are you planning to do it yourself in a pull request?

Yes.

jmcanterafonseca-iota commented 3 years ago

I think this issue is not an issue, the feature is already available @peterokwara

peterokwara commented 2 years ago

I just tested it out.

I ran

./hornet.sh install

And autopeering was enabled by default.

image image

And the node synced with mainnet successfully.