Skip to content

Define and improve the HOPR protocol wire format #5892

@Teebor-Choka

Description

@Teebor-Choka

The on-the-wire format for libp2p messages is now generated using the CBOR serde. The data structures that come into the serialization are however a loose collection of objects and binary blobs that would benefit from a proper structure allowing simple protocol extendibility.

Description

The CBOR constructed request-response format should be replaced by a standardized one, where the HOPR protocol uses a standardized (by an RFC) wire format reproducable independently of the transport technology used. The basic requirements for the on-the-wire format are:

  1. future extendability (format should be extendible in the future without the need to lose backwards compatibility)
  2. the format allows further protocol encapsulations within the payload
  3. document the wire format in an RFC

Sub-issues

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions