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

Init support to proxy #33

Merged
merged 19 commits into from
Sep 30, 2020
Merged

Conversation

vincenzopalazzo
Copy link
Member

@vincenzopalazzo vincenzopalazzo commented Sep 4, 2020

With this PR I start to add the support to tor, but I'm still working inside!

This PR introduces the support to proxy and closed the issue https://github.com/lvaccaro/esplora_clnd_plugin/issues/1

Signed-off-by: Vincenzo Palazzo vincenzopalazzodev@gmail.com

esplora.c Outdated Show resolved Hide resolved
@vincenzopalazzo vincenzopalazzo marked this pull request as ready for review September 20, 2020 14:16
@vincenzopalazzo
Copy link
Member Author

vincenzopalazzo commented Sep 20, 2020

master changes merged (maybe was better a rebase! sorry about that)

In addition, this PR offers the following feature:

  • Migrate from 0.9.0-1 to 0.9.1
  • Support liquid network
  • remove plugin option --esplora-endpoint because the plugin is able to understand what is the best endpoint with the lightnind conf.
  • support proxy with V3 and V2
  • Last refactoring!!!

Java reference implementation of this plugin structure is btcli4j

.travis.yml Show resolved Hide resolved
README.md Show resolved Hide resolved
esplora.c Show resolved Hide resolved
esplora.c Outdated Show resolved Hide resolved
@lvaccaro
Copy link
Collaborator

Could you run linter?
clang-format -i *.c && git diff --exit-code

@vincenzopalazzo vincenzopalazzo force-pushed the tor_proxy branch 2 times, most recently from 7f0c029 to 600bfd4 Compare September 27, 2020 10:22
@vincenzopalazzo
Copy link
Member Author

Code update, thanks @lvaccaro to debugging my code :-)

@lvaccaro
Copy link
Collaborator

could you rebase it?

lvaccaro and others added 17 commits September 29, 2020 23:20
To avoid polluting the use of both tabs and spaces along the function in
next commits, and also to re-order a bit.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This tries again up to 4 times by default, but is configurable as a
startup option.

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Cleaner than having scattered globals

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Without that its actual default value isn't taken into account..

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
In addition, this commit make the change inside Makefile.patch to support the last version of lightnind

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
@vincenzopalazzo
Copy link
Member Author

Rebased with the last master.

I survived @lvaccaro :-)

The plugin was testing with lightning v0.9.1

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Update clang format
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
@lvaccaro
Copy link
Collaborator

ack de0bef6

@lvaccaro lvaccaro merged commit de0bef6 into clightning4j:master Sep 30, 2020
This was referenced Sep 30, 2020
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