rust-lightning/lightning/src
Matt Corallo 07205a2869 Make create_onion_message a freestanding function
The new `create_onion_message` function in `OnionMessenger` is hard
to handle - it has various generic requirements indirectly via the
struct, but they're not bounded by any of the method parameters.
Thus, you can't simply call `OnionMessenger::create_onion_message`,
as various bounds are not specified.

Instead, we move it to a freestanding function so that it can be
called directly without explicitly setting bounds.
2023-10-01 00:05:01 +00:00
..
blinded_path Only allow creating 1-hop blinded paths. 2023-09-12 18:12:03 -04:00
chain Merge pull request #2610 from wpaulino/missing-htlc-claim-balance 2023-09-29 23:55:04 +00:00
events Merge pull request #2629 from jkczyz/2023-09-invreqfailed 2023-09-29 22:42:50 +00:00
ln Mark AChannelManager no-export 2023-10-01 00:05:01 +00:00
offers Drop unnecessary crate:: prefix when accessing bitcoin in macro 2023-10-01 00:05:01 +00:00
onion_message Make create_onion_message a freestanding function 2023-10-01 00:05:01 +00:00
routing Avoid blanket impls in bindings builds 2023-10-01 00:05:01 +00:00
sign Mark SpendableOutputDescriptor::to_psbt_input as no-export 2023-10-01 00:05:01 +00:00
sync Merge pull request #2167 from TheBlueMatt/2023-04-monitor-e-monitor-prep 2023-05-31 22:48:34 +00:00
util Use Default::default() to construct () as score-updating param 2023-10-01 00:05:01 +00:00
lib.rs Ensure we build if a downstream crate sets --cfg=fuzzing 2023-06-20 23:22:15 +00:00