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

regtest: error message if bitcoin-cli is not found #6966

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

Lagrang3
Copy link
Collaborator

If $BITCOIN_BIN is empty and bitcoin-cli or bitcoind are not found startup_regtest will shutdown and display a corresponding error message.

Similarly if lightning-cli and lightningd are not found.

Before this, the script would simply stop execution without any message whatsoever.

@Lagrang3 Lagrang3 requested a review from niftynei December 30, 2023 20:57
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ACK 557a135

Appy to see that someone is really using this :)

@niftynei
Copy link
Contributor

ACK 557a135

Thanks!!

If $BITCOIN_BIN is empty and bitcoin-cli or bitcoind are not found
startup_regtest will shutdown and display a corresponding error message.

Similarly if lightning-cli and lightningd are not found.
@cdecker cdecker force-pushed the regtest-bitcoin-not-found branch from 557a135 to 1d91208 Compare February 2, 2024 15:17
@cdecker
Copy link
Member

cdecker commented Feb 2, 2024

ACK 1d91208

@cdecker cdecker enabled auto-merge (rebase) February 2, 2024 15:18
@cdecker cdecker merged commit 9abd5ec into ElementsProject:master Feb 2, 2024
35 checks passed
@Lagrang3 Lagrang3 deleted the regtest-bitcoin-not-found branch March 4, 2024 05:32
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.

4 participants