2022-10-17 02:34:08 +02:00
|
|
|
#ifndef LIGHTNING_COMMON_HSM_VERSION_H
|
|
|
|
#define LIGHTNING_COMMON_HSM_VERSION_H
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
/* We give a maximum and minimum compatibility version to HSM, to allow
|
|
|
|
* some API adaptation. */
|
2022-10-17 02:35:01 +02:00
|
|
|
|
2023-03-14 06:15:50 +01:00
|
|
|
/* wire/hsmd_wire.csv contents by version:
|
|
|
|
* v1: 409cffa355ab6cc76bd298910adca9936a68223267ddc4815ba16aeac5d0acc3
|
|
|
|
* v2: dd89bf9323dff42200003fb864abb6608f3aa645b636fdae3ec81d804ac05196
|
|
|
|
* v3: edd3d288fc88a5470adc2f99abcbfe4d4af29fae0c7a80b4226f28810a815524
|
2023-03-14 06:16:50 +01:00
|
|
|
* v3 without v1: 3f813898f7de490e9126ab817e1c9a29af79c0413d5e37068acedce3ea7b5429
|
2023-03-21 04:58:09 +01:00
|
|
|
* v4: 41a730986c51b930e2d8d12b3169d24966c2004e08d424bdda310edbbde5ba70
|
2023-03-21 04:58:15 +01:00
|
|
|
* v4 with check_pubkey: 48b3992745aa3c6ab6ce5cdaee9082cb7d70017f523d322015e9710bf49fd193
|
2023-04-06 01:32:48 +02:00
|
|
|
* v4 with sign_any_penalty_to_us: ead7963185194a515d1f14d2c44401392575299d68ce9a13d8a12baff3cf4f35
|
2023-06-26 01:04:21 +02:00
|
|
|
* v4 with sign_anchorspend: 8a30722e38b56e82af566b9629ff18da01fcebd1e80ec67f04d8b3a2fa66d81c
|
2023-06-26 01:14:21 +02:00
|
|
|
* v4 with sign_htlc_tx_mingle: b9247e75d41ee1b3fc2f7db0bac8f4e92d544ab2f017d430ae3a000589c384e5
|
2023-07-27 22:09:41 +02:00
|
|
|
* v4 with splicing: 06f21012936f825913af289fa81af1512c9ada1cb97c611698975a8fd287edbb
|
2023-08-07 07:51:40 +02:00
|
|
|
* v4 with capabilities called permissions: 7c5bf8ec7cf30302740db85260a9d1ac2c5b0323a2376c28df6b611831f91655
|
2023-09-26 22:55:29 +02:00
|
|
|
* v4 with renaming of channel_ready to setup_channel: 60b92a0930b631cc77df564cb9235e6cb220f4337a2bb00e5153145e0bf8c80e
|
2023-09-24 17:51:06 +02:00
|
|
|
* v4 with buried outpoint check: f44fae666895cab0347b3de7c245267c71cc7de834827b83e286e86318c08aec
|
2022-10-17 02:35:01 +02:00
|
|
|
*/
|
2023-03-20 21:26:02 +01:00
|
|
|
#define HSM_MIN_VERSION 3
|
2023-03-21 04:58:09 +01:00
|
|
|
#define HSM_MAX_VERSION 4
|
2022-10-17 02:34:08 +02:00
|
|
|
#endif /* LIGHTNING_COMMON_HSM_VERSION_H */
|