shgraph.hedera-protobuf-java-api.0.55.0.source-code.node_delete.proto Maven / Gradle / Ivy
The newest version!
syntax = "proto3";
package com.hedera.hapi.node.addressbook;
/*
* 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.hederahashgraph.api.proto.java";
// <<>> This comment is special code for setting PBJ Compiler java package
option java_multiple_files = true;
/**
* A transaction body to delete a node from the network address book.
*
* This transaction body SHALL be considered a "privileged transaction".
*
* - A `NodeDeleteTransactionBody` MUST be signed by the governing council.
* - Upon success, the address book entry SHALL enter a "pending delete"
* state.
* - All address book entries pending deletion SHALL be removed from the
* active network configuration during the next `freeze` transaction with
* the field `freeze_type` set to `PREPARE_UPGRADE`.
* - A deleted address book node SHALL be removed entirely from network state.
* - A deleted address book node identifier SHALL NOT be reused.
*
* ### Record Stream Effects
* Upon completion the "deleted" `node_id` SHALL be in the transaction
* receipt.
*/
message NodeDeleteTransactionBody {
/**
* A consensus node identifier in the network state.
*
* The node identified MUST exist in the network address book.
* The node identified MUST NOT be deleted.
* This value is REQUIRED.
*/
uint64 node_id = 1;
}