Skip to content

protocol: add TLV encoding to support `HsmdDevPreinit2`

Ken Sedgwick requested to merge 2024-03-dev-preinit-tlv into main

Changelog-Changed: A new msg HsmdDevPreinit2 replaces the old HsmdDevPreinit with all arguments represented by a TLV encoded options

TODO:

  • roundtrip unit test
  • implement SerBoltTlv
  • fix stm32 no-std Cursor issues
  • SerBoltTlvOptions sort entries
  • compatible with CLN encoded hsmd_dev_preinit
  • use in stm32 init
Edited by Ken Sedgwick

Merge request reports