Interface FreezeServiceGrpc.AsyncService

All Known Implementing Classes:
FreezeServiceGrpc.FreezeServiceImplBase
Enclosing class:
FreezeServiceGrpc

public static interface FreezeServiceGrpc.AsyncService

 A service to manage network "freeze" events.
 This service provides a facility to prepare for network upgrades, halt network processing,
 perform network software upgrades, and automatically restart the network following an upgrade.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    freeze(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver)
    Freeze, cancel, or prepare a freeze.
  • Method Details

    • freeze

      default void freeze(Transaction request, io.grpc.stub.StreamObserver<TransactionResponse> responseObserver)
      
       Freeze, cancel, or prepare a freeze.
       This single transaction performs all of the functions supported
       by the network freeze service. These functions include actions to
       prepare an upgrade, prepare a telemetry upgrade, freeze the network,
       freeze the network for upgrade, or abort a scheduled freeze.
       <p>
       The actual freeze action SHALL be determined by the `freeze_type` field
       of the `FreezeTransactionBody`.<br/>
       The transaction body MUST be a `FreezeTransactionBody`.