bolt3

Lightning transaction and script formats, per BOLT #3 (docs.ppad.tech/bolt3).
git clone git://git.ppad.tech/bolt3.git
Log | Files | Refs | README | LICENSE

commit f7f15ccf1061b984962a1bef9b235a910be93098
parent 05a519fd04b2278423d0c46945be34f0b7244199
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 25 Apr 2026 01:58:31 -0230

export SecretStore and SecretEntry constructors

Expose SecretStore(..) and SecretEntry(..) so
downstream consumers can serialize/deserialize
the per-commitment secret store for channel
state persistence.

Diffstat:
Mlib/Lightning/Protocol/BOLT3.hs | 3++-
Mlib/Lightning/Protocol/BOLT3/Keys.hs | 3++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/Lightning/Protocol/BOLT3.hs b/lib/Lightning/Protocol/BOLT3.hs @@ -159,7 +159,8 @@ module Lightning.Protocol.BOLT3 ( , derive_secret -- ** Secret storage - , SecretStore + , SecretStore(..) + , SecretEntry(..) , empty_store , insert_secret , derive_old_secret diff --git a/lib/Lightning/Protocol/BOLT3/Keys.hs b/lib/Lightning/Protocol/BOLT3/Keys.hs @@ -40,7 +40,8 @@ module Lightning.Protocol.BOLT3.Keys ( , derive_secret -- * Per-commitment secret storage - , SecretStore + , SecretStore(..) + , SecretEntry(..) , empty_store , insert_secret , derive_old_secret