Skip to content

[0.0.123-bindings] Bindings changes for 0.0.123 #3062

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
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3d133cf
[UPSTREAM] Skip `BestBlock::new` in bindings as we already have one
TheBlueMatt May 11, 2024
2cbf869
[UPSTREAM] Export `ChannelId` in bindings rather than `[u8; 32]`
TheBlueMatt May 11, 2024
b5b6346
[UPSTREAM] Use prelude by universal import, rather than single import
TheBlueMatt May 11, 2024
bc7dc7a
[UPSTREAM] Make `offers::Amount` `Copy` and export it in bindings
TheBlueMatt May 11, 2024
658e81a
[UPSTREAM] Mark `io_extras` as no-bindings-export as its not pub
TheBlueMatt May 12, 2024
4244f66
[UPSTREAM] Expose `ChannelManager` offer constructors in bindings
TheBlueMatt May 13, 2024
0380c65
[UPSTREAM] impl `Clone` on unsigned BOLT12 types
TheBlueMatt May 13, 2024
7efbfa1
[UPSTREAM] impl `Clone` on BOLT12 builders in bindings
TheBlueMatt May 13, 2024
d41d87c
[UPSTREAM] Allow any `Deref` to an `EntropySource` in `BlindedPath`
TheBlueMatt May 13, 2024
1d2cb76
Stop relying on a `Clone`able `NetworkGraph` ref in `DefaultRouter`
TheBlueMatt Jan 23, 2024
76c137d
Make `as_directed_to` non-public
TheBlueMatt Mar 1, 2022
0c0383c
Restrict ChannelInfo::as_directed_from visibility
jkczyz Mar 29, 2022
662c9e9
Use an explicit `Sign` type on the `ChannelMonitor` read tuple
TheBlueMatt Dec 24, 2022
a9b8c75
Export `outbound_payment` structs in their respective modules
TheBlueMatt Feb 28, 2023
fb6e90d
Avoid enums containing references with lifetimes
TheBlueMatt Mar 5, 2023
1eb3520
Mark a few offers fields no-export as we have no mapping for them
TheBlueMatt May 11, 2024
b202d91
Use `[u8; 3]` not `CurrencyCode` to skip type aliases to primitives
TheBlueMatt May 11, 2024
2456605
Hard-code scorer parameters to `ProbabilisticScoringFeeParameters`
TheBlueMatt Oct 21, 2023
a93e17c
Mark several types no-export which should be exported eventually
TheBlueMatt Jul 19, 2023
7721b8d
`crate`-only several BOLT12 methods that require unbounded generics
TheBlueMatt Sep 28, 2023
7ba202b
Make ChannelMonitor always clonable
TheBlueMatt Feb 1, 2021
8ba5202
Make the custom message traits cloneable as they're deep in nested st…
TheBlueMatt Sep 24, 2021
0897e7f
Replace `EventsProvider` on `OnionMessageHandler` with a single fn
TheBlueMatt Dec 17, 2023
174fb7a
Avoid slices without inner references
TheBlueMatt Sep 28, 2023
82e8d3b
Hide `Direction::select_node_id` due to lifetimes
TheBlueMatt May 11, 2024
25f2633
Drop `SerialId` type as bindings don't support primitive aliasing
TheBlueMatt May 11, 2024
4f8f9b4
Move `Persister` back to lots of generic bounds
TheBlueMatt May 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[UPSTREAM] Use prelude by universal import, rather than single import
This avoids the bindings trying to figure out what a
`lightning::prelude::Vec` is rather than matching it as a `Vec`.
  • Loading branch information
TheBlueMatt committed May 11, 2024
commit b5b6346fd56c17ad74219c2b64006c9c4dba6a28
2 changes: 1 addition & 1 deletion lightning/src/util/sweep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::chain::{self, BestBlock, Confirm, Filter, Listen, WatchedOutput};
use crate::io;
use crate::ln::msgs::DecodeError;
use crate::ln::types::ChannelId;
use crate::prelude::Vec;
use crate::prelude::*;
use crate::sign::{ChangeDestinationSource, OutputSpender, SpendableOutputDescriptor};
use crate::sync::Mutex;
use crate::util::logger::Logger;
Expand Down