rust-lightning/lightning/src/ln
Matt Corallo e5070c4880 Process background events when taking the total_consistency_lock
When we generated a `ChannelMonitorUpdate` during `ChannelManager`
deserialization, we must ensure that it gets processed before any
other `ChannelMonitorUpdate`s. The obvious hook for this is when
taking the `total_consistency_lock`, which makes it unlikely we'll
regress by forgetting this.

Here we add that call in the `PersistenceNotifierGuard`, with a
test-only atomic bool to test that this criteria is met.
2023-05-30 23:05:02 +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 Process background events when taking the total_consistency_lock 2023-05-30 23:05:02 +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 Process background events when taking the total_consistency_lock 2023-05-30 23:05:02 +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 Process background events when taking the total_consistency_lock 2023-05-30 23:05:02 +00:00
reload_tests.rs Process background events when taking the total_consistency_lock 2023-05-30 23:05:02 +00:00
reorg_tests.rs Process background events when taking the total_consistency_lock 2023-05-30 23:05:02 +00: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