Commit Graph

2 Commits

Author SHA1 Message Date
Olaoluwa Osuntokun
a244a30f32
input: create new ScriptDesciptor interface
In this commit, we add a new interface, the `ScriptDesciptor` to
abstract over details of a given output script. The purpose of this
interface, and the taproot superset, is to be able to paper over the
differences of a p2wsh vs a p2tr output. With this new interface, we can
treat them as the same, but then use a type assertion to get at any
control block related methods if needed.
2023-08-22 16:33:44 -07:00
Olaoluwa Osuntokun
23f7ee39c7
contractcourt: update htlcTimeoutResolver for taproot chans 2023-08-22 16:33:36 -07:00