Skip to content

Commit 442f51a

Browse files
committed
minor formatting
1 parent d847d6c commit 442f51a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pubsub/gossipsub/partial-messages.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ node has all but one cell, this would result in a transfer of 2KiB rather than
5656
per slot is around 500KiB.
5757

5858
Later, partial messages could enable further optimizations:
59+
5960
- If cells can be validated individually, as in the case of DAS, partial
6061
messages could also be forwarded, allowing us to reduce the store-and-forward
6162
delay [2].
@@ -75,7 +76,6 @@ are referenced is application defined.
7576
If, in some application, a group only ever contained a single partial message,
7677
then partial messages would be the same as smaller messages.
7778

78-
7979
## Protocol Messages
8080

8181
The following section specifies the semantics of each new protocol message.
@@ -130,11 +130,11 @@ supports the following operations:
130130

131131
1. `.GroupID() -> GroupID: bytes`
132132
2. `.PartialMessageBytes(partsMetadata: bytes) -> Result<(EncodedPartialMessage: bytes, newPartsMetadata: bytes), Error>`
133-
a. The method should return an encoded partial message with just the parts the
134-
peer requested.
135-
b. The returned `newPartsMetadata` can be used to track parts that could not
136-
be fulfilled. This allows the GossipSub library to avoid sending duplicate
137-
parts to the same peer.
133+
1. The method should return an encoded partial message with just the parts the
134+
peer requested.
135+
2. The returned `newPartsMetadata` can be used to track parts that could not
136+
be fulfilled. This allows the GossipSub library to avoid sending duplicate
137+
parts to the same peer.
138138
3. `.PartsMetadata() -> bytes`
139139

140140
Gossipsub in turn provides a `.PublishPartial(PartialMessage)` method.

0 commit comments

Comments
 (0)