citadel-tech / coinswap

Functioning, minimal-viable binaries and libraries to perform a trustless, p2p Maxwell-Belcher Coinswap Protocol

Home Page:https://gist.github.com/chris-belcher/9144bd57a91c194e332fb5ca371d0964

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature: Use `serde_cbor` for network message encoding.

rajarshimaitra opened this issue · comments

commented

Currently the library uses serde_json for encoding protocol messages. Which is useful for logging and debugging, but inefficient for network messages.

Network messages can be encoded in serde_cbor for more optimal encoding and logging can still use serde_json.