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

Private Tangle with Autopeering #51

Closed jmcanterafonseca-iota closed 3 years ago

jmcanterafonseca-iota commented 3 years ago

Description of change

Enables Autopeering on Private Tangle

Type of change

Choose a type of change, and delete any options that are not relevant.

How the change has been tested

Manual Testing.

Change checklist

Add an x to the boxes that are relevant to your changes, and delete any items that are not.

peterokwara commented 3 years ago

For https://github.com/iotaledger/one-click-tangle/blob/c0d19ac4126a1d37aa8811d639fc350bb8ffd50b/hornet-private-net/extra-nodes/private-hornet.sh#L16 and https://github.com/iotaledger/one-click-tangle/blob/c0d19ac4126a1d37aa8811d639fc350bb8ffd50b/hornet-private-net/extra-nodes/private-hornet.sh#L30 apart from peer address there should also be autopeering address

peterokwara commented 3 years ago

The link to the file Readme_AWS seems to be missing here, hence it leads to a dead link https://github.com/jmcanterafonseca-iota/one-click-tangle/blob/c0d19ac4126a1d37aa8811d639fc350bb8ffd50b/hornet-private-net/extra-nodes/README.md#L3

peterokwara commented 3 years ago

With this fixes, this should sort out the problem. Tested it out and it works well. Both peering and autopeering

./private-hornet.sh install node002 e2e3bd296e6f15301316bba5230d196d455dd2ddf7b4a659cdaa0c65c8d9d815 "\/dns\/node-autopeering\/udp\/14626\/autopeering\/6amaq5p2Bt2pzPHBTZyXRsZn5ZqxojhKtew2jJeEHc3F"

and

./private-hornet.sh install node001 e2e3bd296e6f15301316bba5230d196d455dd2ddf7b4a659cdaa0c65c8d9d815 "\/dns\/spammer\/tcp\/15600\/p2p\/12D3KooWQk6fsW2FCP224tkk1CAL6eKi9uuf8NDbrQ4BC8HCnXDF"

The nodes connected and synced with each other. And the milestones add up/are the same.