pub fn verify_messages(
req: &MessagesRequest,
resp: &MessagesResponse,
) -> Result<(), VerifyError>Expand description
Verify a MessagesResponse against its MessagesRequest: the requested start or head, the
byte budget, and the proofs up to req.under.
For a channel fetch, use verify_channel_messages to also check that resp.frontier
equals the stored frontier from consumed_streams().