Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

This makes it so that users cannot usefully implement their own
EventsProvider, which would require substantial new logic in the
bindings generator (for generic methods). In the case of
EventsProvider, because there are no Rust methods which accept an
EventsProvider as an argument, this is perfectly OK as the
generated code would be entirely unused anyway.

LDK-C-Bindings PR which implements checking for the new tag is at lightningdevkit/ldk-c-bindings#24

This makes it so that users cannot usefully implement their own
`EventsProvider`, which would require substantial new logic in the
bindings generator (for generic methods). In the case of
`EventsProvider`, because there are no Rust methods which accept an
`EventsProvider` as an argument, this is perfectly OK as the
generated code would be entirely unused anyway.
@codecov
Copy link

codecov bot commented May 30, 2021

Codecov Report

Merging #934 (27c05fd) into main (8cc9410) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #934      +/-   ##
==========================================
- Coverage   90.55%   90.54%   -0.01%     
==========================================
  Files          60       60              
  Lines       30698    30698              
==========================================
- Hits        27798    27796       -2     
- Misses       2900     2902       +2     
Impacted Files Coverage Δ
lightning/src/util/events.rs 20.35% <ø> (ø)
lightning/src/ln/functional_tests.rs 97.20% <0.00%> (-0.04%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8cc9410...27c05fd. Read the comment docs.

@TheBlueMatt TheBlueMatt merged commit 4cc320b into lightningdevkit:main May 31, 2021
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