mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 23:30:59 +01:00
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. |
||
---|---|---|
.. | ||
blinded_path | ||
chain | ||
events | ||
ln | ||
offers | ||
onion_message | ||
routing | ||
sign | ||
sync | ||
util | ||
lib.rs |