rust-lightning/lightning/src/ln
Matt Corallo acbe41abe2 Handle BackgroundEvents replaying non-closing monitor updates
`BackgroundEvent` was used to store `ChannelMonitorUpdate`s which
result in a channel force-close, avoiding relying on
`ChannelMonitor`s having been loaded while `ChannelManager`
block-connection methods are called during startup.

In the coming commit(s) we'll also generate non-channel-closing
`ChannelMonitorUpdate`s during startup, which will need to be
replayed prior to any other `ChannelMonitorUpdate`s generated from
normal operation.

In the next commit we'll handle that by handling `BackgroundEvent`s
immediately after locking the `total_consistency_lock`.
2023-05-30 23:00:59 +00:00
..
chan_utils.rs Move keysinterface.rs to a directory-level module called sign. 2023-05-02 21:48:08 -07:00
chanmon_update_fail_tests.rs Allow holding ChannelMonitorUpdates until later, completing one 2023-05-02 17:59:22 +00:00
channel.rs Return the counterparty node_id as a part of a force-shutdown res 2023-05-30 18:15:32 +00:00
channelmanager.rs Handle BackgroundEvents replaying non-closing monitor updates 2023-05-30 23:00:59 +00:00
features.rs Merge pull request #2258 from valentinewallace/2023-04-blinded-pathfinding-groundwork-2 2023-05-08 23:17:42 +00:00
functional_test_utils.rs Merge pull request #2258 from valentinewallace/2023-04-blinded-pathfinding-groundwork-2 2023-05-08 23:17:42 +00:00
functional_tests.rs Merge pull request #2258 from valentinewallace/2023-04-blinded-pathfinding-groundwork-2 2023-05-08 23:17:42 +00:00
inbound_payment.rs Move keysinterface.rs to a directory-level module called sign. 2023-05-02 21:48:08 -07:00
mod.rs Add PartialOrd, Ord to PaymentHash, PaymentPreimage for tests 2023-04-22 23:04:29 -05:00
monitor_tests.rs Move keysinterface.rs to a directory-level module called sign. 2023-05-02 21:48:08 -07:00
msgs.rs Move TransactionU16LenLimited to ser.rs 2023-05-09 08:19:32 +02:00
onion_route_tests.rs Merge pull request #2258 from valentinewallace/2023-04-blinded-pathfinding-groundwork-2 2023-05-08 23:17:42 +00:00
onion_utils.rs Fix onion messages of size BIG_PACKET_HOP_DATA_LEN 2023-05-08 15:02:42 -04:00
outbound_payment.rs Document when PaymentPathSuccessful::payment_hash is filled in. 2023-05-05 03:33:54 +00:00
payment_tests.rs Merge pull request #2258 from valentinewallace/2023-04-blinded-pathfinding-groundwork-2 2023-05-08 23:17:42 +00:00
peer_channel_encryptor.rs Move keysinterface.rs to a directory-level module called sign. 2023-05-02 21:48:08 -07:00
peer_handler.rs Add new wire messaging and events but don't handle them 2023-05-05 11:40:51 +02:00
priv_short_conf_tests.rs Merge pull request #2258 from valentinewallace/2023-04-blinded-pathfinding-groundwork-2 2023-05-08 23:17:42 +00:00
reload_tests.rs Move keysinterface.rs to a directory-level module called sign. 2023-05-02 21:48:08 -07: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 Merge pull request #2258 from valentinewallace/2023-04-blinded-pathfinding-groundwork-2 2023-05-08 23:17:42 +00:00
wire.rs Add new wire messaging and events but don't handle them 2023-05-05 11:40:51 +02:00