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

Create Migration021 #1532

Merged
merged 2 commits into from
Apr 11, 2019
Merged

Create Migration021 #1532

merged 2 commits into from
Apr 11, 2019

Conversation

cpacia
Copy link
Member

@cpacia cpacia commented Apr 5, 2019

This migration migrates the config file to include the EnableAutoRelay option
in the Swarm config. This will allow the node to automatically detect if it's
behind a restricted NAT, automatically find relay nodes, and set their own
swarm addresses to use the relays.

closes #1531

This migration migrates the config file to include the EnableAutoRelay option
in the Swarm config. This will allow the node to automatically detect if it's
behind a restricted NAT, automatically find relay nodes, and set their own
swarm addresses to use the relays.
@coveralls
Copy link

coveralls commented Apr 5, 2019

Coverage Status

Coverage increased (+0.07%) to 35.635% when pulling 249b2ad on migration021 into b663812 on master.

@placer14 placer14 assigned placer14 and cpacia and unassigned placer14 Apr 5, 2019
Copy link
Member

@placer14 placer14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to add the default value to new configurations.

@cpacia
Copy link
Member Author

cpacia commented Apr 11, 2019

This config object is added by IPFS when the node is created. It's not in our configuration file.

@placer14
Copy link
Member

Ah, I didn't know that, thanks. And also for adding the AutoNAT default to the config as well.

@cpacia cpacia merged commit 1000f97 into master Apr 11, 2019
@placer14 placer14 deleted the migration021 branch April 17, 2019 03:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate config to include option for AutoRelay defaulted true
3 participants