rust-lightning/lightning/src/ln
Alec Chen 75c058670c
Enable monitor to rebuild initial counterparty commitment tx
Upon creating a channel monitor, it is provided with the initial
counterparty commitment transaction info directly before the very first
time it is persisted. Because of this, the very first counterparty
commitment is not seen as an update in the persistence pipeline, and so
our previous changes to the monitor and updates cannot be used to
reconstruct this commitment.

To be able to expose the counterparty's transaction for the very first
commitment, we add a thin wrapper around
`provide_latest_counterparty_commitment_tx`, that stores the necessary
data needed to reconstruct the initial commitment transaction in the
monitor.
2023-08-23 12:33:07 -05:00
..
chan_utils.rs Migrate chan_utils vec_type TLVs to required/optional 2023-07-07 21:07:06 +00:00
chanmon_update_fail_tests.rs Remove unused imports. 2023-08-22 14:28:40 -07:00
channel.rs Enable monitor to rebuild initial counterparty commitment tx 2023-08-23 12:33:07 -05:00
channelmanager.rs Merge pull request #2492 from optout21/payment-hash-display 2023-08-23 11:32:46 -04:00
features.rs Add Taproot feature support. 2023-08-22 14:25:09 -07:00
functional_test_utils.rs Merge pull request #2478 from waterson/settle-htlcs 2023-08-21 22:32:54 +00:00
functional_tests.rs Merge pull request #2441 from arik-so/2023-07-taproot-signer-wrapped 2023-08-22 17:49:24 -07:00
inbound_payment.rs Use Display of PaymentHash; avoid log_bytes macro 2023-08-22 18:16:50 +02:00
mod.rs Add Display to PaymentId & PaymentPreimage 2023-08-22 18:16:55 +02:00
monitor_tests.rs Merge pull request #2441 from arik-so/2023-07-taproot-signer-wrapped 2023-08-22 17:49:24 -07:00
msgs.rs Send warning messages when repeating shutdown messages at volume 2023-08-21 23:04:47 +00:00
onion_route_tests.rs Merge pull request #2411 from valentinewallace/2023-07-blinded-onion-keys 2023-08-22 17:10:59 +00:00
onion_utils.rs Struct-ify decoded onion failures 2023-08-19 18:59:06 -04:00
outbound_payment.rs Merge pull request #2492 from optout21/payment-hash-display 2023-08-23 11:32:46 -04:00
payment_tests.rs Remove unused imports. 2023-08-22 14:28:40 -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 No-export APeerManager in bindings 2023-07-20 21:43:52 +00:00
priv_short_conf_tests.rs Remove unused imports. 2023-08-22 14:28:40 -07:00
reload_tests.rs Correct test struct initialization ordering 2023-08-15 23:19:03 +00:00
reorg_tests.rs Merge pull request #2441 from arik-so/2023-07-taproot-signer-wrapped 2023-08-22 17:49:24 -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 #2507 from TheBlueMatt/2023-08-lnd-6039 2023-08-22 10:20:02 +02:00
wire.rs Implement enqueue_message trait requirements on Message enum 2023-05-26 14:40:14 -07:00