Strongify wire header serialization #115
Labels
enhancement
New feature or request
good first issue
Good for newcomers
medium
Effort label
testing
Task related to testing
As we use
bincode
through theserialize
anddeserialize
functions, the default is little endian and fixed int encoding. The fixed int encoding does what we want in terms of layout for integers:To make sure of that, we have one test where the expected serialised representation of a request (so including the header) is written as a
Vec
and we parse it. If thebincode
representation changes over time, this test will fail.bincode
should be fairly stable:Two improvements should be made however to make the wire header serialization stronger:
The text was updated successfully, but these errors were encountered: