support empty blocks
mafintosh opened this issue · comments
Mathias Buus commented
Right now the replication protocol is ambiguous, whether a data message is a "only hashes" message vs a "value message" when the value is 0 bytes.
You can solve the ambiguity by looking at the responses you have, but that goes against the self-describing of the protocol so we should probably add a flag to indicate this explicitly