state.tss.tss_message_map_key.proto Maven / Gradle / Ivy
/**
* # Tss Message Map Key
*
* ### Keywords
* The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
* "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
* document are to be interpreted as described in
* [RFC2119](https://www.ietf.org/rfc/rfc2119) and clarified in
* [RFC8174](https://www.ietf.org/rfc/rfc8174).
*/
syntax = "proto3";
package com.hedera.hapi.node.state.tss;
/*
* Copyright (C) 2024 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
option java_package = "com.hedera.hapi.node.state.tss.legacy";
// <<>> This comment is special code for setting PBJ Compiler java package
option java_multiple_files = true;
/**
* A key for use in the Threshold Signature Scheme (TSS) TssMessageMaps.
*
* This key SHALL be used to uniquely identify entries in the Message Maps.
*/
message TssMessageMapKey {
/**
* A hash that uniquely identifies the target roster for the associated value
* in the map.
*
* This value MUST be set.
* This value MUST NOT be empty.
* This value MUST contain a valid hash.
*/
bytes roster_hash = 1;
/**
* A number representing consensus order.
* This declares the order in which the mapped value came to consensus.
*
This value MUST be set.
* This value MUST be a valid sequence number.
*/
uint64 sequence_number = 2;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy