rust-lightning/lightning/src/ln
Matt Corallo f24830719a Clean up error messages and conditionals in reestablish handling
When we reestablish there are generally always 4 conditions for
both local and remote commitment transactions:
 * we're stale and have possibly lost data
 * we're ahead and the peer has lost data
 * we're caught up
 * we're nearly caught up and need to retransmit one update.

In especially the local commitment case we had a mess of different
comparisons, which is improved here. Further, the error messages
are clarified and include more information.
2023-11-27 23:59:12 +00:00
..
async_signer_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
blinded_payment_tests.rs BOLT12 invoice_feature methods for ChannelManager 2023-10-20 09:49:56 -05:00
chan_utils.rs Use sign_holder_htlc_transaction to sign non-anchors holder HTLCs 2023-10-20 15:32:13 -07:00
chanmon_update_fail_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
channel.rs Clean up error messages and conditionals in reestablish handling 2023-11-27 23:59:12 +00:00
channel_id.rs Add ChannelId pending change note; formatting 2023-08-28 07:20:23 +02:00
channelmanager.rs Merge pull request #2677 from Evanfeenstra/public-onion-utils 2023-11-07 04:41:03 +00:00
features.rs Makes Features::from_be_bytes public 2023-10-05 15:27:13 -04:00
functional_test_utils.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
functional_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
inbound_payment.rs Include PaymentId in payer metadata 2023-08-29 11:08:11 -05:00
mod.rs Merge pull request #2677 from Evanfeenstra/public-onion-utils 2023-11-07 04:41:03 +00:00
monitor_tests.rs Merge pull request #2667 from wpaulino/random-htlc-holder-sigs-non-anchors 2023-10-20 22:55:08 +00:00
msgs.rs public create_payment_onion in onion_utils 2023-11-06 10:41:35 -08:00
onion_route_tests.rs Qualify BOLT11 ChannelManager invoice_features 2023-10-20 09:49:56 -05:00
onion_utils.rs Merge pull request #2677 from Evanfeenstra/public-onion-utils 2023-11-07 04:41:03 +00:00
outbound_payment.rs Apply a default max fee rather than none when paying for BOLT12 2023-10-20 18:09:09 +00:00
payment_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07: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 Do not compile the Simple* type aliases in c_bindings at all 2023-10-21 16:30:41 +00:00
priv_short_conf_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
reload_tests.rs Fix data_loss_protect test to actually test DLP 2023-11-09 00:05:23 +00:00
reorg_tests.rs Test preimage claim after reorg of counterparty commitment 2023-09-29 09:58:38 -07:00
script.rs Use UserConfig to determine advertised InitFeatures by ChannelManager 2023-01-13 23:54:51 -08:00
shutdown_tests.rs Added temporary_channel_id to create_channel. 2023-11-03 17:44:50 -07:00
wire.rs Implement enqueue_message trait requirements on Message enum 2023-05-26 14:40:14 -07:00