rust-lightning/lightning/src/ln
Matt Corallo bbb590b551 Move checking of specific require peer feature bits to handlers
As we remove the concept of a global "known/supported" feature set
in LDK, we should also remove the concept of a global "required"
feature set. This does so by moving the checks for specific
required features into handlers.

Specifically, it allows the handler `peer_connected` method to
return an `Err` if the peer should be disconnected. Only one such
required feature bit is currently set - `static_remote_key`, which
is required in `ChannelManager`.
2022-09-13 16:59:30 +00:00
..
chan_utils.rs Update bitcoin crate to 0.29.0 2022-08-11 00:21:26 +02:00
chanmon_update_fail_tests.rs Swap some peer_connected features to known from empty in test 2022-09-13 16:59:30 +00:00
channel.rs Add a note that peer_disconnected impls must be idempotent 2022-09-13 16:59:30 +00:00
channelmanager.rs Move checking of specific require peer feature bits to handlers 2022-09-13 16:59:30 +00:00
features.rs Don't advertise onion messages in known channel features 2022-09-09 16:00:26 -04:00
functional_test_utils.rs Swap some peer_connected features to known from empty in test 2022-09-13 16:59:30 +00:00
functional_tests.rs Swap some peer_connected features to known from empty in test 2022-09-13 16:59:30 +00:00
inbound_payment.rs Pass FinalOnionHopData to payment verify by reference, not clone 2022-05-02 09:37:23 -07:00
mod.rs Merge pull request #1503 from valentinewallace/2022-05-onion-msgs 2022-08-03 04:39:56 +00:00
monitor_tests.rs Mark failed counterparty-is-destination HTLCs retryable 2022-09-07 20:43:17 +00:00
msgs.rs Move checking of specific require peer feature bits to handlers 2022-09-13 16:59:30 +00:00
onion_route_tests.rs Move checking of specific require peer feature bits to handlers 2022-09-13 16:59:30 +00:00
onion_utils.rs Update bitcoin crate to 0.29.0 2022-08-11 00:21:26 +02:00
payment_tests.rs Merge pull request #1699 from TheBlueMatt/2022-08-announcement-rework 2022-09-09 00:34:10 +00:00
peer_channel_encryptor.rs Use new spec repository URL. 2022-05-20 17:17:29 +02:00
peer_handler.rs Move checking of specific require peer feature bits to handlers 2022-09-13 16:59:30 +00:00
priv_short_conf_tests.rs Swap some peer_connected features to known from empty in test 2022-09-13 16:59:30 +00:00
reorg_tests.rs Mark failed counterparty-is-destination HTLCs retryable 2022-09-07 20:43:17 +00:00
script.rs Update bitcoin crate to 0.29.0 2022-08-11 00:21:26 +02:00
shutdown_tests.rs Swap some peer_connected features to known from empty in test 2022-09-13 16:59:30 +00:00
wire.rs Add boilerplate for sending and receiving onion messages in PeerManager 2022-08-26 19:02:59 -04:00