Add get_anchor_script
authorAntoine Riard <ariard@student.42.fr>
Tue, 26 May 2020 07:55:03 +0000 (09:55 +0200)
committerDevrandom <c1.devrandom@niftybox.net>
Sat, 28 Aug 2021 09:09:42 +0000 (11:09 +0200)
commit97c29cfd34a93e585dde3cd3efc6d6185b54fdc7
tree474d02105b3cf1e39ff23588384a93046baae71b
parent4368b56eb6a0a00b2181c13cadf55ab4a0c9f9a8
Add get_anchor_script

This is a script builder to generate anchor output ones. They can be
satisfied either by a signature for the committed funding pubkey or anyone
after CSV delay expiration.

This is used at anchor output addition while generating commitment transaction.
lightning/src/ln/chan_utils.rs