rust-lightning/lightning/src
Wilmer Paulino ffec24b3e3
Retrieve all possible spendable outputs from transactions
Assuming our keys haven't been compromised, and that random transactions
aren't learning of these scripts somehow and sending funds to them, it
was only possible for one spendable output to exist within a
transaction.

- `shutdown_script` can only exist in co-op close transactions.
- `counterparty_payment_script` can only exist in counterparty
  commitment transactions.
- `broadcasted_holder_revokable_script` can only exist in holder
  commitment/HTLC transactions.
- `destination_script` can exist in any other type of claim we support.

Now that we're exposing this API to users such that they can rescan any
relevant transactions, there's no harm in allowing them to claim more
funds from spendable outputs than we expected.
2023-09-28 14:25:30 -07:00
..
blinded_path Only allow creating 1-hop blinded paths. 2023-09-12 18:12:03 -04:00
chain Retrieve all possible spendable outputs from transactions 2023-09-28 14:25:30 -07:00
events Sanity check fees on transactions produced by the bump event handler 2023-09-19 11:13:44 -07:00
ln Retrieve all possible spendable outputs from transactions 2023-09-28 14:25:30 -07:00
offers Add tests for send_payment_for_bolt12_invoice 2023-09-07 16:55:22 -05:00
onion_message public make_onion_message static method on OnionMessenger 2023-09-20 13:42:35 -07:00
routing Merge pull request #2417 from tnull/2023-07-max-total-fee 2023-09-26 20:07:52 +00: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 Add an UnrecoverableError variant to ChannelMonitorUpdateStatus 2023-09-21 19:12:31 +00:00
lib.rs Ensure we build if a downstream crate sets --cfg=fuzzing 2023-06-20 23:22:15 +00:00