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

Added proxy information to plugin configuration #4010

Conversation

vincenzopalazzo
Copy link
Contributor

Hi all!

With this PR, I'm proposing my idea to add a couple of the information to the proxy during the plugin configuration.

Inside my test to develop a new plugin, I noted the necessity to know if the node has the proxy enabled, the solution was to add a plugin option but I think this is redundant propriety during the node setup!

Another solution is to use the listconfigs to set up the connection inside the plugin but in some cases the method plugin call before to start some plugin methods! For instance, an alternative backend bitcoin/element that overrides the plugin bcli

I hope that I'm losing nothings.

@vincenzopalazzo vincenzopalazzo force-pushed the proxy_information_for_plugins branch 2 times, most recently from 7ca3e2e to f45c772 Compare September 7, 2020 08:41
@rustyrussell
Copy link
Contributor

Ack f45c772

@rustyrussell
Copy link
Contributor

Please add a "Changelog-Added: Plugins: Proxy information now provided in init.configuration." to the first commit (and maybe squash them all into one commit?)

Thanks!

Changelog-Added: Plugins: Proxy information now provided in init.configuration."

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
@vincenzopalazzo vincenzopalazzo force-pushed the proxy_information_for_plugins branch from f45c772 to e0e82a3 Compare September 7, 2020 11:01
@vincenzopalazzo
Copy link
Contributor Author

@rustyrussell Done!

Thanks for review this!

@cdecker
Copy link
Member

cdecker commented Sep 7, 2020

ACK e0e82a3

@rustyrussell rustyrussell merged commit c9687ab into ElementsProject:master Sep 8, 2020
vincenzopalazzo added a commit to vincenzopalazzo/lightning that referenced this pull request Sep 8, 2020
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
rustyrussell pushed a commit that referenced this pull request Sep 9, 2020
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
vincenzopalazzo added a commit to clightning4j/JRPClightning that referenced this pull request Sep 13, 2020
ElementsProject/lightning#4010

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
@vincenzopalazzo vincenzopalazzo deleted the proxy_information_for_plugins branch September 29, 2020 22:04
vibhaa pushed a commit to spider-pcn/lightning that referenced this pull request Mar 24, 2021
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
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