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

Support HTTPS Esplora endpoints in lightning-transaction-sync via new feature #2085

Merged

Conversation

tnull
Copy link
Contributor

@tnull tnull commented Mar 8, 2023

To support HTTPS endpoints, the async HTTP library reqwest needs one of the -tls features enabled. While the users could specify this in their own cargo dependencies, we here provide a new esplora-async-https feature for convenience.

I for now refrained of making this enabled by default (i.e., directly adding it to esplora-async), as all current options for TLS libraries have rustc requirements of >1.56, and we're still exploring how to lower the MSRV of the lightning-transaction-sync crate.

@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (ccac926) 91.14% compared to head (09038ee) 91.13%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2085      +/-   ##
==========================================
- Coverage   91.14%   91.13%   -0.01%     
==========================================
  Files         101      101              
  Lines       48849    48849              
  Branches    48849    48849              
==========================================
- Hits        44521    44520       -1     
- Misses       4328     4329       +1     
Impacted Files Coverage Δ
lightning-block-sync/src/rpc.rs 76.92% <0.00%> (-0.70%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tnull tnull force-pushed the 2023-03-introduce-async-https-feature branch from 11fdd70 to 6fb7cca Compare March 8, 2023 15:35
@tnull tnull force-pushed the 2023-03-introduce-async-https-feature branch from 6fb7cca to 2820d4a Compare March 8, 2023 16:24
@tnull tnull force-pushed the 2023-03-introduce-async-https-feature branch from 2820d4a to d327700 Compare March 8, 2023 16:41
jkczyz
jkczyz previously approved these changes Mar 8, 2023
TheBlueMatt
TheBlueMatt previously approved these changes Mar 8, 2023
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

Ugh, looking forward to when we can drop these giant HTTP dependency trees.

@TheBlueMatt
Copy link
Collaborator

Feel free to squash.

To support HTTPS endpoints, the async HTTP library `reqwest` needs one of
the `-tls` features enabled. While the users could specify this in their
own cargo dependencies, we here provide a new `esplora-async-https`
feature for conveinience.
@tnull tnull dismissed stale reviews from TheBlueMatt and jkczyz via 09038ee March 8, 2023 18:25
@tnull tnull force-pushed the 2023-03-introduce-async-https-feature branch from d327700 to 09038ee Compare March 8, 2023 18:25
@tnull
Copy link
Contributor Author

tnull commented Mar 8, 2023

Ugh, looking forward to when we can drop these giant HTTP dependency trees.

Agreed. Squashed commits without further changes.

@TheBlueMatt TheBlueMatt merged commit 6aa1cf9 into lightningdevkit:main Mar 8, 2023
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.

None yet

4 participants