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

chore: remove xud.conf #722

Closed
wants to merge 8 commits into from
Closed

chore: remove xud.conf #722

wants to merge 8 commits into from

Conversation

reliveyy
Copy link
Collaborator

@reliveyy reliveyy commented Sep 15, 2020

Partially resolving #405

This PR replaces xud.conf file with a bunch of command-line options in entrypoint.sh. It also removes xud script option --xud.preserve-config. In a legacy environment, the old xud.conf will be renamed to previous-xud.{timestamp}.conf.

How to test?

The expected behaviour is not breaking anything about the xud service.

@reliveyy reliveyy requested a review from raladev September 15, 2020 02:47
@reliveyy reliveyy self-assigned this Sep 15, 2020
@reliveyy reliveyy mentioned this pull request Sep 15, 2020
4 tasks
@reliveyy reliveyy force-pushed the remove-xud-conf branch 2 times, most recently from 4df07b9 to 4325823 Compare September 15, 2020 09:20
Copy link
Contributor

@raladev raladev left a comment

Choose a reason for hiding this comment

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

  • simnet-lndltc throws connection error during initialization
Syncing light clients:
┌─────────┬─────────────────────────────────────────────────────┐
│ SERVICE │ STATUS                                              │
├─────────┼─────────────────────────────────────────────────────┤
│ lndbtc  │ Syncing 99.91% (116000/116094)                      │
├─────────┼─────────────────────────────────────────────────────┤
│ lndltc  │ Syncing 99.83% (116000/116193)                      │
└─────────┴─────────────────────────────────────────────────────┘

Do you want to create a new xud environment or restore an existing one?
1) Create New
2) Restore Existing
Please choose: 1
You are creating an xud node key and underlying wallets. All will be secured by a single password provided below.

Enter a password: 
Re-enter password: 

Error: 13 INTERNAL: could not initialize lnd-LTC: 14 UNAVAILABLE: failed to connect to all addresses
Do you want to create a new xud environment or restore an existing one?
1) Create New
2) Restore Existing
Please choose: 

@raladev
Copy link
Contributor

raladev commented Sep 15, 2020

  • something wrong with backup path. lnd backup files are not created and xud log contains err:
    Screenshot from 2020-09-15 17-06-28
    Screenshot from 2020-09-15 17-03-20

@raladev
Copy link
Contributor

raladev commented Sep 16, 2020

  • testnet setup does not work because of wrong port choosing by utils
    Screenshot from 2020-09-16 11-55-02
    Screenshot from 2020-09-16 11-54-59

@reliveyy reliveyy marked this pull request as draft September 16, 2020 14:06
@reliveyy reliveyy closed this Sep 29, 2020
@reliveyy reliveyy deleted the remove-xud-conf branch October 13, 2020 08:08
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.

2 participants