shoop icon indicating copy to clipboard operation
shoop copied to clipboard

switch to msgpack (or something similar)

Open mcginty opened this issue 9 years ago • 3 comments

msgpack, capnproto, whatevah

mcginty avatar Jul 30 '16 10:07 mcginty

This is msg pack library looks really nice and has a good example. https://github.com/3Hren/msgpack-rust

zmanian avatar Jul 30 '16 21:07 zmanian

What part of the protocol did want switched over the msgpack? The (nonce, payload) part?

zmanian avatar Jul 31 '16 07:07 zmanian

@zmanian I'm thinking more the file descriptor/metadata message that's sent before the data blocks start coming in. This is kind of in anticipation of having more complex data structures when recursive folder downloading is implemented.

Keeping the (nonce, payload) structure for the crypto layer is probably fine as-is for now, I agree.

mcginty avatar Jul 31 '16 10:07 mcginty