edouard dab40527ae
Merge #17: Typesafe descriptor management
ee86a1bd5ebbda39885f1e8869bf8ae03552d682 descriptors: add a helper to get the value of the timelock (Antoine Poinsot)
0fd57db8a893ae2621ca5f3cc03c6393c3a65646 Use the descriptor newtype instead of the raw miniscript Descriptor type (Antoine Poinsot)
44eb0fad9b758f7b81caea735b1a6ea41b29ebd6 descriptors: introduce a newtype for derived descriptors (Antoine Poinsot)
869d370daa354c76292517448646d0b7f76facba descriptors: introduce an InheritanceDescriptor type (Antoine Poinsot)

Pull request description:

  This introduces types for our inheritance descriptor. This is taken and adapted from revaultd, where it turned out to be very helpful.

  This also adds a helper to query the timelock of the heir's spending path in the inheritance descriptor for downstream users to be able to compute the expiration block of each coin.

  This is based on #13.

ACKs for top commit:
  edouardparis:
    utACK ee86a1bd5ebbda39885f1e8869bf8ae03552d682

Tree-SHA512: 948720967052fcd0e83c3f061f981b25d79c4cc62bbd521de5ea27ee0f08ed1c50c3c089c9cb0729e1bdc59f4acfed1fa05decdbe4fd8b549abd3345c34d66a5
2022-09-15 09:43:35 +02:00
2022-08-22 17:19:08 +02:00
2022-08-18 12:01:27 +02:00
2022-09-07 15:12:08 +02:00
2022-08-22 17:19:08 +02:00
2022-07-26 10:46:16 +02:00
2022-07-26 10:46:16 +02:00
2022-07-20 16:17:32 +02:00
Description
A fork of https://github.com/wizardsardine/liana with removed loopback restrictions to allow connecting to a custom remote bitcoin core node
Languages
Rust 90.4%
Python 8.5%
Shell 0.5%
Scheme 0.3%
Nix 0.3%