All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shgraph.hedera-protobuf-java-api.0.55.0.source-code.freeze_type.proto Maven / Gradle / Ivy

The newest version!
syntax = "proto3";

package proto;

/*-
 * ‌
 * Hedera Network Services Protobuf
 * ​
 * Copyright (C) 2018 - 2021 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.hederahashgraph.api.proto.java";
// <<>> This comment is special code for setting PBJ Compiler java package
option java_multiple_files = true;

/**
* The type of network freeze or upgrade operation to be performed. This type dictates which 
* fields are required. 
*/
enum FreezeType {
    /**
     * An (invalid) default value for this enum, to ensure the client explicitly sets 
     * the intended type of freeze transaction.
     */
    UNKNOWN_FREEZE_TYPE = 0;

    /**
     * Freezes the network at the specified time. The start_time field must be provided and 
     * must reference a future time. Any values specified for the update_file and file_hash 
     * fields will be ignored. This transaction does not perform any network changes or 
     * upgrades and requires manual intervention to restart the network. 
     */
    FREEZE_ONLY = 1; 

    /**
     * A non-freezing operation that initiates network wide preparation in advance of a 
     * scheduled freeze upgrade. The update_file and file_hash fields must be provided and 
     * valid. The start_time field may be omitted and any value present will be ignored.
     */
    PREPARE_UPGRADE = 2; 

    /**
     * Freezes the network at the specified time and performs the previously prepared 
     * automatic upgrade across the entire network. 
     */
    FREEZE_UPGRADE = 3; 

    /**
     * Aborts a pending network freeze operation.
     */
    FREEZE_ABORT = 4; 

    /**
     * Performs an immediate upgrade on auxilary services and containers providing 
     * telemetry/metrics. Does not impact network operations. 
     */
    TELEMETRY_UPGRADE = 5; 
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy