-
Notifications
You must be signed in to change notification settings - Fork 901
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
cli: allow to specify only the --rpc-file option #3353
Conversation
This won't actually work without ElementsProject/lightning#3353, but neither will the instructions currently printed out (LN_ALICE_PATH and LN_BOB_PATH already include the network subdirectory and `--network` is not specified), so probably better that way anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This did resolve #3352, but it looks like the Edit: if you're looking for a v0.8.0 workaround, see this. |
Notice also that the |
Yeah the default is relative but I tested using an absolute path, will correct to handle both cases.
Ok I'll definitely leave the |
So this is now the |
Tested ACK 1b5cb2f, works as expected for both absolute and relative |
The CI failures seem unrelated, working on getting those fixed first. Other than that this seems good to go 👍 ACK 1b5cb2f |
nit:
Changelog-Changed: Usage of `lightning-cli` by specifying only `--rpc-file` has been restore.
restore -> restored
|
If absolute, we can deduce the lightning_dir, the network, and the socket filename out of it. This allows to be able to only specify the 'rpc-file', as before. Changelog-Changed: Usage of `lightning-cli` by specifying only `--rpc-file` has been restored.
Fixed, thanks ! |
ACK 1a82e5a |
fixes #3352
I at first made the
--rpc-file
option take over the--lightning_dir
one, but we don't seem to be using the config dir in the cli anyway, so ..