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

Restart lndk after stack init #25

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Restart lndk after stack init #25

merged 1 commit into from
Jun 11, 2024

Conversation

mrfelton
Copy link
Member

This pull request includes changes to the scripts/init.sh file, primarily aimed at improving the clarity of script execution and adding a new step in the script to restart LNDK nodes. The changes include adding new echo statements for better user feedback, modifying existing echo statements for clarity, moving the print_section function, and adding a new function to restart LNDK nodes.

Here are the most important changes:

Script execution clarity improvements:

  • scripts/init.sh: Added echo statements to the setup function to provide feedback on the progress of the script.
  • scripts/init.sh: Modified the echo statement in the waitForGraphSync function to provide a more precise estimate of the time required.

Function modifications:

  • scripts/init.sh: Moved the print_section function to a higher location in the script for better organization and readability. [1] [2]
  • scripts/init.sh: Added a new function restartLndkNodes to restart LNDK nodes as part of the script execution.

Script execution flow changes:

  • scripts/init.sh: Added calls to the restartLndkNodes and getNodeInfo functions in the main function to include these steps in the script execution.

@mrfelton mrfelton added the type:enhancement Indicates new feature requests label Jun 11, 2024
@mrfelton mrfelton self-assigned this Jun 11, 2024
@mrfelton mrfelton merged commit 4f64f7b into master Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant