Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pubsub/gossipsub/extensions/extensions.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ message ControlExtensions {

optional bool testExtension = 6492434;

// SPREAD: anonymity-preserving, topology-aware dissemination.
// See ../spread/README.md
optional bool spread = 6492435;

}

message ControlMessage {
Expand Down Expand Up @@ -47,6 +51,8 @@ message RPC {

optional TestExtension testExtension = 6492434;

optional SpreadExtension spread = 6492435;

}

message PartialMessagesExtension {
Expand All @@ -59,3 +65,10 @@ message PartialMessagesExtension {
// An encoded representation of the parts a peer has and wants.
optional bytes partsMetadata = 4;
}

message SpreadExtension {
// Zero-based indices into RPC.publish identifying the messages in this RPC
// that are being disseminated via SPREAD. Absent or empty means no message
// in this RPC is a SPREAD message.
repeated uint32 publishIndices = 1;
}
400 changes: 400 additions & 0 deletions pubsub/gossipsub/spread/README.md

Large diffs are not rendered by default.

Binary file added pubsub/gossipsub/spread/figs/attack_results_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pubsub/gossipsub/spread/figs/cdf_latency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pubsub/gossipsub/spread/figs/dataset_voronoi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pubsub/gossipsub/spread/figs/stretch_cdf_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pubsub/gossipsub/spread/figs/tuning_stretch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.