From c574f0fcfaa3ffaee2ad81e7a6a3f5c34cd6d44e Mon Sep 17 00:00:00 2001 From: renjiez Date: Wed, 7 Feb 2024 01:06:57 +0000 Subject: [PATCH] Add comments --- .../wfa/measurement/api/v2alpha/protocol_config.proto | 5 +++++ .../proto/wfa/measurement/api/v2alpha/requisition.proto | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto b/src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto index 4016e39d8..b2a95212e 100644 --- a/src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto +++ b/src/main/proto/wfa/measurement/api/v2alpha/protocol_config.proto @@ -237,6 +237,11 @@ message ProtocolConfig { ReachOnlyLiquidLegionsV2 reach_only_liquid_legions_v2 = 3; // Honest Majority Shuffle Based Secret Sharing protocol. + // + // `Requisition`s using this protocol can be fulfilled by calling + // RequisitionFulfillment/FulfillRequisition with a sketch and a secret + // seed. The Requisition should be fulfilled at the Duchy specified by + // Requisition/fulfilling_duchy. HonestMajorityShareShuffle honest_majority_share_shuffle = 4; } } diff --git a/src/main/proto/wfa/measurement/api/v2alpha/requisition.proto b/src/main/proto/wfa/measurement/api/v2alpha/requisition.proto index 4c74e2a4a..e663cd141 100644 --- a/src/main/proto/wfa/measurement/api/v2alpha/requisition.proto +++ b/src/main/proto/wfa/measurement/api/v2alpha/requisition.proto @@ -168,6 +168,14 @@ message Requisition { (google.api.field_behavior) = IMMUTABLE ]; + // The `resource` name of the Duchy to fulfill the requisition at. + // + // If present, must fulfill the requisition at the target Duchy. + string fulfilling_duchy = 16 [ + (google.api.resource_reference).type = "halo.wfanet.org/Duchy", + (google.api.field_behavior) = OUTPUT_ONLY + ]; + // State of a `Requisition`. enum State { // Default value if state is omitted. Should never be used.