-
Notifications
You must be signed in to change notification settings - Fork 422
0.1 bindings #3545
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
Merged
TheBlueMatt
merged 22 commits into
lightningdevkit:0.1-bindings
from
TheBlueMatt:2024-12-0.1-bindings
Jan 16, 2025
Merged
0.1 bindings #3545
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
af5b948
Make `as_directed_to` non-public
TheBlueMatt 6841f6d
Restrict ChannelInfo::as_directed_from visibility
jkczyz abf432b
Use an explicit `Sign` type on the `ChannelMonitor` read tuple
TheBlueMatt e4b99f7
Export `outbound_payment` structs in their respective modules
TheBlueMatt e133ce0
Avoid enums containing references with lifetimes
TheBlueMatt f2d022f
Mark a few offers fields no-export as we have no mapping for them
TheBlueMatt 763a362
Use `[u8; 3]` not `CurrencyCode` to skip type aliases to primitives
TheBlueMatt cda6adc
Hard-code scorer parameters to `ProbabilisticScoringFeeParameters`
TheBlueMatt 9c730e9
Mark several types no-export which should be exported eventually
TheBlueMatt 1293a8f
`crate`-only several BOLT12 methods that require unbounded generics
TheBlueMatt 25091c1
Make ChannelMonitor always clonable
TheBlueMatt f65eca1
Make the custom message traits cloneable as they're deep in nested st…
TheBlueMatt f1a52eb
Avoid slices without inner references
TheBlueMatt c34d166
Avoid options holding references in the public API
TheBlueMatt cc35650
Hide `Direction::select_node_id` due to lifetimes
TheBlueMatt 637155c
Drop `SerialId` type as bindings don't support primitive aliasing
TheBlueMatt 9cf0826
Minimal updates to `lightning-transaction-sync` for bindings
TheBlueMatt ae63f5d
Require an OM in BP as this should generally be true and its easier t…
TheBlueMatt 1cffc9c
Avoid returning references in `NodeAnnouncementInfo` accessors
TheBlueMatt 8121ec2
Use `[u8; 32]` rather than `Hmac<Sha256>` for simplicity
TheBlueMatt 8376ed4
Use inline bounds for secp contexts, rather than `where` clauses
TheBlueMatt d2141e1
No-export `CheckedHrpstringError`
TheBlueMatt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Given we're not exposing the
lightning-transaction-synccrate in bindings and all the modules should be hidden behind features anyways, why are these changes necessary?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.
Oh, they were just in the changeset cause we'd started trying to expose tx-sync. Might as well leave them so that we can eventually-maybe expose it.