rust-lightning/lightning/src
Alec Chen b20b1dbe67
Test justice tx formation from persistence
Here we implement `WatchtowerPersister`, which provides a test-only
sample implementation of `Persist` similar to how we might imagine a
user to build watchtower-like functionality in the persistence pipeline.

We test that the `WatchtowerPersister` is able to successfully build and
sign a valid justice transaction that sweeps a counterparty's funds if
they broadcast an old commitment.
2023-08-23 12:33:16 -05:00
..
blinded_path Generalize next_hop_packet_pubkey onion util 2023-08-19 18:55:34 -04:00
chain Enable signing a justice tx using the channel monitor 2023-08-23 12:33:11 -05:00
events Merge pull request #2511 from jbesraa/add-channel-id-to-spendableoutputs-event 2023-08-22 20:38:40 +00:00
ln Test justice tx formation from persistence 2023-08-23 12:33:16 -05:00
offers Support signing BOLT 12 invoices in NodeSigner 2023-08-21 19:14:29 -05:00
onion_message Merge pull request #2411 from valentinewallace/2023-07-blinded-onion-keys 2023-08-22 17:10:59 +00:00
routing Merge pull request #2492 from optout21/payment-hash-display 2023-08-23 11:32:46 -04:00
sign Merge pull request #2441 from arik-so/2023-07-taproot-signer-wrapped 2023-08-22 17:49:24 -07:00
sync Merge pull request #2167 from TheBlueMatt/2023-04-monitor-e-monitor-prep 2023-05-31 22:48:34 +00:00
util Test justice tx formation from persistence 2023-08-23 12:33:16 -05:00
lib.rs Ensure we build if a downstream crate sets --cfg=fuzzing 2023-06-20 23:22:15 +00:00