6

I'm reading about the gossip protocol and wanted to know what a TLV is. I can't find what it means anywhere.

1 Answer 1

6

TLV stands for type-length-value. It's an encoding scheme used when protocols allow for optional elements in their messages.

The type is a label telling you what field you're looking at, the length tells you how long the field is, and the value provides the actual field data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.