-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
*compatibility*Issues affecting compatibility and interoperabilityIssues affecting compatibility and interoperabilitybugSomething isn't workingSomething isn't workingepicEpic taskEpic taskrefactoringRefactoring of the existing codeRefactoring of the existing code
Milestone
Description
Lightning encoding was a trait introduced to simplify implementation for encoding different values. However, because of internal inconsistencies in how BOLTs specify encoding of the same data in different cases, this is doesn't work as intended. This is a tracking issue for all problems caused by this inconsistency. The goal is to try to "save" lightning encoding trait and derive macros, but solve all possible inconsistencies ad-hoc on a higher type level.
- features flag constituting
channel_typesinopen_channelmessage TLV are encoded usingBigSizeTLV length field, while the same feature flags in the global/local features ofinitmessage are encoded withu16length value (fixed in Fix ChannelType and Script decodings in TLVs #30) - scripts in TLVs are encoded without size prefix (fixed in Fix ChannelType and Script decodings in TLVs #30)
CC @crisdut
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
*compatibility*Issues affecting compatibility and interoperabilityIssues affecting compatibility and interoperabilitybugSomething isn't workingSomething isn't workingepicEpic taskEpic taskrefactoringRefactoring of the existing codeRefactoring of the existing code