Skip to content

Commit

Permalink
Update p2p-interface.md
Browse files Browse the repository at this point in the history
Suggest readers of `BlobSidecarsByRoot` also verify KZG proofs of blob data.
  • Loading branch information
ralexstokes authored Oct 28, 2023
1 parent 612d148 commit f214e25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specs/deneb/p2p-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ It may be less in the case that the responding peer is missing blocks or sidecar
The response is unsigned, i.e. `BlobSidecar`, as the signature of the beacon block proposer
may not be available beyond the initial distribution via gossip.

Before consuming the next response chunk, the response reader SHOULD verify the blob sidecar is well-formatted and correct w.r.t. the expected KZG commitments through `verify_blob_kzg_proof_batch`.

No more than `MAX_REQUEST_BLOB_SIDECARS` may be requested at a time.

`BlobSidecarsByRoot` is primarily used to recover recent blobs (e.g. when receiving a block with a transaction whose corresponding blob is missing).
Expand Down

0 comments on commit f214e25

Please sign in to comment.