Sha256: 6bfb72e4510825c59d9ff6212007bc2518e153a7b21e2ff558cc7147401a9ce7

Contents?: true

Size: 1.47 KB

Versions: 8

Compression:

Stored size: 1.47 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: admission_control.proto for package 'admission_control'
# Original file comments:
# Copyright (c) The Libra Core Contributors
# SPDX-License-Identifier: Apache-2.0
#

require 'grpc'
require 'admission_control_pb'

module AdmissionControl
  module AdmissionControl
    # -----------------------------------------------------------------------------
    # ---------------- Service definition
    # -----------------------------------------------------------------------------
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'admission_control.AdmissionControl'

      # Public API to submit transaction to a validator.
      rpc :SubmitTransaction, SubmitTransactionRequest, SubmitTransactionResponse
      # This API is used to update the client to the latest ledger version and
      # optionally also request 1..n other pieces of data.  This allows for batch
      # queries.  All queries return proofs that a client should check to validate
      # the data. Note that if a client only wishes to update to the latest
      # LedgerInfo and receive the proof of this latest version, they can simply
      # omit the requested_items (or pass an empty list)
      rpc :UpdateToLatestLedger, Types::UpdateToLatestLedgerRequest, Types::UpdateToLatestLedgerResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
libra_client-0.2.1 proto-lib/admission_control_services_pb.rb
libra_client-0.1.7 proto-lib/admission_control_services_pb.rb
libra_client-0.1.6 proto-lib/admission_control_services_pb.rb
libra_client-0.1.5 proto-lib/admission_control_services_pb.rb
libra_client-0.1.3 proto-lib/admission_control_services_pb.rb
libra_client-0.1.2 proto-lib/admission_control_services_pb.rb
libra_client-0.1.1 proto-lib/admission_control_services_pb.rb
libra_client-0.1.0 proto-lib/admission_control_services_pb.rb