Here is my understanding of bookkeeper and its digest:

- Client calculates the digest and inserts into the payload.
- LedgerId, entryId are duplicated both in the non-digest on the wire
protobuf message
  and also on the 'body' which finally gets stored on the ledger storage.
- LedgerId and entryId from the protobuf's addRequest is directly copied
onto to the response.
- On Bookie, ledger storage extracts ledgerId, entryId fields from the
'body' *without verifying the digest.*

My question is what is protecting on the wire corruption of entryId on the
wire before adding it to the ledger Storage/Journal?

-- 
Jvrao
---
First they ignore you, then they laugh at you, then they fight you, then
you win. - Mahatma Gandhi

Reply via email to