Skip to content

Inconsistencies in encoding of LN messages #32

@dr-orlovsky

Description

@dr-orlovsky

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.

CC @crisdut

Metadata

Metadata

Assignees

Labels

*compatibility*Issues affecting compatibility and interoperabilitybugSomething isn't workingepicEpic taskrefactoringRefactoring of the existing code

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions