mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
a244a30f32
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. |
||
---|---|---|
.. | ||
chan.go | ||
memory.go | ||
README.md | ||
stream.go | ||
sync_map_bench_test.go | ||
sync_map_test.go | ||
sync_map.go |
lnutils
This package provides fundamental types and utility functions that can be used by all other packages.