state.tss.tss_vote_map_key.proto Maven / Gradle / Ivy
/**
* # Tss Vote 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) TssVoteMaps.
*
* This key SHALL be used to uniquely identify entries in the Vote Maps.
*/
message TssVoteMapKey {
/**
* A hash of the target roster for the associated value in the map.
* This hash uniquely identifies the target roster.
*
* This value MUST be set.
* This value MUST contain a valid hash.
*/
bytes roster_hash = 1;
/** The node id of the node that created the TssVote.
* This id uniquely identifies the node.
*
* This value MUST be set.
* This value MUST be a valid node id.
*/
uint64 node_id = 2;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy