Closed hackergrrl closed 5 years ago
Adds a more explicit multifeed replication header for exchanging keys, as well as protocol version checking.
The header is length-prefixed JSON (<LEN-UINT32><JSON-BUFFER>) and looks like
<LEN-UINT32><JSON-BUFFER>
"version": "1.0.0", "keys": ["hexkey1", "hexkey2"]
Adds a more explicit multifeed replication header for exchanging keys, as well as protocol version checking.