Skip to content

Commit

Permalink
Drop max_frequency in ProtocolConfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
renjiezh committed Nov 21, 2023
1 parent 567e55b commit 5112176
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,9 @@ message ProtocolConfig {
// Parameters for secret sharing sketches.
SecretSharingSketchParams sketch_params = 1
[(google.api.field_behavior) = REQUIRED];
// The maximum frequency to reveal in the histogram. This is also the EDP
// frequency cap.
int32 maximum_frequency = 2;

// The mechanism to generate noise by workers during the computation.
NoiseMechanism noise_mechanism = 3;
NoiseMechanism noise_mechanism = 2;
}

// Configuration for a specific protocol.
Expand Down Expand Up @@ -286,6 +284,7 @@ message ReachOnlyLiquidLegionsSketchParams {
message SecretSharingSketchParams {
// The size of the sketch.
int64 sketch_size = 1;

// Length of each item in bits. #_EDPs * max_frequency should be no more than
// 2^bit_per_item.
int32 bit_per_item = 2;
Expand Down

0 comments on commit 5112176

Please sign in to comment.