rust-lightning/lightning/src/ln
Matt Corallo 14c6810e48 Expose a trait impl'd for all PeerManager for use as a bound
A while back, in tests, we added a `AChannelManager` trait, which
is implemented for all `ChannelManager`s, and can be used as a
bound when we need a `ChannelManager`, rather than having to
duplicate all the bounds of `ChannelManager` everywhere.

Here we do the same thing for `PeerManager`, but make it public and
use it to clean up `lightning-net-tokio` and
`lightning-background-processor`.

We should likely do the same for `AChannelManager`, but that's left
as a followup.
2023-05-02 22:17:25 +00:00
..
chan_utils.rs Generate local signatures with additional randomness 2023-04-20 12:14:21 -07:00
chanmon_update_fail_tests.rs Replace Vec<RouteHop> with new Path struct 2023-04-21 11:48:27 -04:00
channel.rs Merge pull request #2146 from valentinewallace/2023-03-blinded-pathfinding-groundwork 2023-04-24 16:46:15 +00:00
channelmanager.rs Merge pull request #2146 from valentinewallace/2023-03-blinded-pathfinding-groundwork 2023-04-24 16:46:15 +00:00
features.rs Unset the optional bit for a feature when setting the required bit 2023-04-19 02:57:19 +00:00
functional_test_utils.rs Remove redundant final_cltv_delta param from get_route 2023-04-27 17:09:19 -04:00
functional_tests.rs Remove redundant final_cltv_delta param from get_route 2023-04-27 17:09:19 -04:00
inbound_payment.rs Stateless verification of InvoiceRequest 2023-04-19 21:30:40 -05:00
mod.rs Add PartialOrd, Ord to PaymentHash, PaymentPreimage for tests 2023-04-22 23:04:29 -05:00
monitor_tests.rs Merge pull request #2217 from alecchendev/2023-04-expose-hash-in-balance 2023-04-28 11:11:01 -07:00
msgs.rs Merge pull request #2127 from TheBlueMatt/2023-03-payment-metadata 2023-04-19 17:17:49 +00:00
onion_route_tests.rs Remove redundant final_cltv_delta param from get_route 2023-04-27 17:09:19 -04:00
onion_utils.rs Merge pull request #2220 from TheBlueMatt/2023-04-dont-ban-cln 2023-04-24 21:15:08 +00:00
outbound_payment.rs Fix outbound_payment for new Path::blinded_tail 2023-04-21 15:35:08 -04:00
payment_tests.rs Remove redundant final_cltv_delta param from get_route 2023-04-27 17:09:19 -04:00
peer_channel_encryptor.rs Use NodeSigner::ecdh to compute SharedSecrets 2023-01-18 17:23:23 -08:00
peer_handler.rs Expose a trait impl'd for all PeerManager for use as a bound 2023-05-02 22:17:25 +00:00
priv_short_conf_tests.rs Remove redundant final_cltv_delta param from get_route 2023-04-27 17:09:19 -04:00
reload_tests.rs Merge pull request #2146 from valentinewallace/2023-03-blinded-pathfinding-groundwork 2023-04-24 16:46:15 +00:00
reorg_tests.rs Fix off-by-one finalized transaction locktime 2023-04-22 11:16:32 -07:00
script.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
shutdown_tests.rs Remove redundant final_cltv_delta param from get_route 2023-04-27 17:09:19 -04:00
wire.rs Docs improvements 2023-03-21 14:11:13 +00:00