Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLV must be present only in top-level structures #8

Closed
dr-orlovsky opened this issue Jan 17, 2023 · 1 comment
Closed

TLV must be present only in top-level structures #8

dr-orlovsky opened this issue Jan 17, 2023 · 1 comment
Labels
question Further information is requested

Comments

@dr-orlovsky
Copy link
Member

TLV stream has to be the last data item in any message. This wouldn't be the case if a message has fields which are in turn structures with TLV fields, as was discovered by @crisdut in LNP-WG/lnp-node#66

Derive macro has somehow to prevent that from happening (not clear how though...).

@dr-orlovsky dr-orlovsky added the question Further information is requested label Jan 17, 2023
@dr-orlovsky
Copy link
Member Author

TLV is not used in strict encoding anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant