Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common: change default network to mainnet #4277

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

jsarenik
Copy link
Collaborator

@jsarenik jsarenik commented Dec 13, 2020

Changelog-changed: Default network on both new and old
installs is now bitcoin. The warning "default network
changing in 2020" was removed.

Reverts 36c517b (except the comment)
Fixes #4159

@cdecker cdecker marked this pull request as draft December 14, 2020 16:16
@jsarenik jsarenik changed the title WIP: test_misc.py: Use network TEST_NETWORK WIP: change default network to mainnet Dec 14, 2020
@jsarenik
Copy link
Collaborator Author

The whole idea of this patch was changed after feed-back from @rustyrussell . Now it is removing all the logic that would detect if the directory smells_like_old_testnet.

@jsarenik
Copy link
Collaborator Author

jsarenik commented Dec 14, 2020

Note: original patch which introduced this function which checks for the smell was 36c517b and it also brought following include files:

+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>

Would it be safe to remove all of these? @rustyrussell

@jsarenik jsarenik changed the title WIP: change default network to mainnet RFC: change default network to mainnet Dec 15, 2020
Changelog-changed: Default network on both new and old
installs is now bitcoin. The warning "default network
changing in 2020" was removed.

Reverts 36c517b
Fixes ElementsProject#4159
@cdecker
Copy link
Member

cdecker commented Dec 15, 2020

Needs a changelog entry, otherwise excellent 👍

ACK bf19dc6

@jsarenik
Copy link
Collaborator Author

@cdecker See the commit itself. There is currently this changelog entry:

Changelog-changed: Default network on both new and old
installs is now bitcoin. The warning "default network
changing in 2020" was removed.

@jsarenik jsarenik changed the title RFC: change default network to mainnet change default network to mainnet Dec 16, 2020
@jsarenik jsarenik changed the title change default network to mainnet common: change default network to mainnet Dec 16, 2020
@cdecker
Copy link
Member

cdecker commented Dec 16, 2020

I see, @bitcoin-bot must have been slow picking it up and the check was marked as pending. All good to go then.

@jsarenik jsarenik marked this pull request as ready for review December 16, 2020 10:05
@cdecker cdecker merged commit 0401c60 into ElementsProject:master Dec 16, 2020
@jsarenik jsarenik deleted the jsn/network branch December 17, 2020 19:19
@jsarenik jsarenik restored the jsn/network branch March 20, 2021 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default network changing in 2020
2 participants