rgb-cln/hsmd
Rusty Russell 87264540c3 hsmd: add support for lightningd signing onchain txs.
We previously used WIRE_HSMD_SIGN_DELAYED_PAYMENT_TO_US,
WIRE_HSMD_SIGN_REMOTE_HTLC_TO_US, WIRE_HSMD_SIGN_PENALTY_TO_US and
WIRE_HSMD_SIGN_LOCAL_HTLC_TX which allow onchaind to sign txs,
but only for its specific channel.

We now want lightningd to sign these, but it's not bound to a specific
channel.  So let's add variants that don't require that.

We are also now explicit about *what input* to sign.  It's always zero
for now, but future combinations may change that.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-04-07 11:49:09 +09:30
..
Makefile Makefile: check that hsm_version.h changes if wire/hsmd_wire.csv contents does 2022-10-26 11:29:06 +10:30
capabilities.h check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
hsmd.c hsmd: add support for lightningd signing onchain txs. 2023-04-07 11:49:09 +09:30
hsmd_wire.csv hsmd: add support for lightningd signing onchain txs. 2023-04-07 11:49:09 +09:30
libhsmd.c hsmd: add support for lightningd signing onchain txs. 2023-04-07 11:49:09 +09:30
libhsmd.h check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
libhsmd_status.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30