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

feat(lightning): Add Custom RGS Server #1351

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Conversation

coreyphillips
Copy link
Collaborator

Description

  • Adds ability for users to add custom RGS servers in Advanced Settings.
  • Will currently attempt to connect to any valid url passed as the RGS server.

Type of change

  • New feature (non-breaking change which adds functionality)

Tests

  • No test

Screenshot / Video

Simulator Screenshot - iPhone 14 - 2023-10-19 at 20 22 27
Simulator Screenshot - iPhone 14 - 2023-10-19 at 20 22 36

Adds ability for users to add custom RGS servers in Advanced Settings.
Copy link
Collaborator

@Jasonvdb Jasonvdb left a comment

Choose a reason for hiding this comment

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

We should maybe indicate a restart is required to take affect. Also when switching servers incremental syncs won't work so on first startup it'll error and return empty graph but on next startup sync from scratch. So maybe best to stop ldk, delete current graph cache and then restart.

Added toast notification to inform the user they may need to updated their app.
@coreyphillips
Copy link
Collaborator Author

coreyphillips commented Oct 20, 2023

Added a notification to alert the user that they may need to update the app once or twice to apply the change. It will currently stop the node and restart LDK with the new RGS info, but I don't believe we have exposed a method to delete the net graph info just yet.

@coreyphillips coreyphillips merged commit 694525a into master Oct 20, 2023
3 of 4 checks passed
@coreyphillips coreyphillips deleted the add-custom-rgs-server branch October 20, 2023 10:56
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.

3 participants