Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
WIP: TLV parsing #2802
niftynei left a comment •
Actual defect: we need to initialize all the pointers in the tlv structures. There are fancier ways to do this (have fromwire_tlvs know the offset inside the struct of which ptr corresponds to which TLV record, or even go full typesafe and instead of the struct make it a varargs function which takes tuples...).
But creating a constructor which uses talz is simpler :)
Jul 11, 2019
Since this code isn't currently used, I'm committing even though spec isn't final. Nice to have this infra in-tree since everything else will depend on it. Rebased and fixed check-source warnings (BOLT quotes are not in master yet!)