Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 theprint_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 thesetup
function to provide feedback on the progress of the script.scripts/init.sh
: Modified the echo statement in thewaitForGraphSync
function to provide a more precise estimate of the time required.Function modifications:
scripts/init.sh
: Moved theprint_section
function to a higher location in the script for better organization and readability. [1] [2]scripts/init.sh
: Added a new functionrestartLndkNodes
to restart LNDK nodes as part of the script execution.Script execution flow changes:
scripts/init.sh
: Added calls to therestartLndkNodes
andgetNodeInfo
functions in themain
function to include these steps in the script execution.